Method

PwgRegistrydup_globals_by_interface

since: 0.1

Declaration [src]

GListModel*
pwg_registry_dup_globals_by_interface (
  PwgRegistry* self,
  const char* interface_type
)

Description [src]

Copies a snapshot list of globals with a matching interface type.

Stability: Unstable

Available since: 0.1

Parameters

interface_type

Type: const char*

A PipeWire interface type name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: A list model of GObject

A GListModel of PwgGlobal objects.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.