Method

PwgGlobaldup_property

since: 0.1

Declaration [src]

char*
pwg_global_dup_property (
  PwgGlobal* self,
  const char* key
)

Description [src]

Copies a single global property value.

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.

Return value

Type: char*

The property value, or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.