Method

PwgRegistrydup_globals_by_property

since: 0.1

Declaration [src]

GListModel*
pwg_registry_dup_globals_by_property (
  PwgRegistry* self,
  const char* key,
  const char* value
)

Description [src]

Copies a snapshot list of globals with a matching property.

Stability: Unstable

Available since: 0.1

Parameters

key

Type: const char*

A PipeWire property key.

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

Type: const char*

A PipeWire property value.

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.