Class

PwgLink

since: 0.3.7

Description [src]

final class Pwg.Link : GObject.Object
{
  /* No available fields */
}

Live PipeWire link proxy for observing link state.

Link objects bind a discovered link global and expose copied state updates. They do not expose raw PipeWire proxy ownership to language bindings.

Stability: Unstable

Available since: 0.3.7

Ancestors

Constructors

pwg_link_new

Creates a live link proxy wrapper for link state inspection.

since: 0.3.7

Instance methods

pwg_link_dup_error

Copies the latest PipeWire link state error message.

since: 0.3.7

pwg_link_get_bound

Gets whether the link proxy is currently bound.

since: 0.3.7

pwg_link_get_core

Gets the core used by this link wrapper.

since: 0.3.7

pwg_link_get_global

Gets the global descriptor used to bind this link.

since: 0.3.7

pwg_link_get_running

Gets whether the link wrapper is running.

since: 0.3.7

pwg_link_get_state

Gets the latest copied PipeWire link state string.

since: 0.3.7

pwg_link_start

Binds the link proxy. If the core is not connected, this method connects it first.

since: 0.3.7

pwg_link_stop

Stops the link proxy and clears copied state.

since: 0.3.7

pwg_link_sync

Starts the link proxy if needed, performs a PipeWire core roundtrip, and dispatches link state updates queued before the matching roundtrip completion on this object’s main context.

since: 0.3.7

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Pwg.Link:bound

Whether the link proxy is currently bound.

since: 0.3.7

Pwg.Link:core

PipeWire core used by this link wrapper.

since: 0.3.7

Pwg.Link:error

The latest copied PipeWire link state error message.

since: 0.3.7

Pwg.Link:global

PipeWire link global used by this link wrapper.

since: 0.3.7

Pwg.Link:running

Whether the link wrapper is running.

since: 0.3.7

Pwg.Link:state

The latest copied PipeWire link state string.

since: 0.3.7

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PwgLinkClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.