class

Pipewire::Registry

Inherits Pipewire::EventListener < Pipewire::Base < Reference < Object

Constants

EVENT_LISTENER_VERSION = LibPipewire::VERSION_REGISTRY_EVENTS

Constructors

new(pointer : Pointer(T))
Source

Instance methods

bind_client(id, autoremove = true) : Client
Source
bind_device(id, autoremove = true) : Device
Source
bind_metadata(id, autoremove = true) : Metadata
Source
bind_node(id, autoremove = true) : Node
Source
finalize
Source
on_global

Registers the block as a new handler for the event global.

A reference to the returned instance of EventListenerGlobal is held by self, until EventListenerGlobal#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerGlobal also holds a reference to self.

Source
on_global_remove

Registers the block as a new handler for the event global_remove.

A reference to the returned instance of EventListenerGlobalRemove is held by self, until EventListenerGlobalRemove#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerGlobalRemove also holds a reference to self.

Source
remove_event_listeners

Removes each event handler registered on this instance.

Source

Nested types