Pipewire::Registry
Inherits Pipewire::EventListener < Pipewire::Base < Reference < Object
Constants
EVENT_LISTENER_VERSION = LibPipewire::VERSION_REGISTRY_EVENTS
Constructors
Instance methods
bind_client(id, autoremove = true) : Client
Sourcebind_device(id, autoremove = true) : Device
Sourcebind_metadata(id, autoremove = true) : Metadata
Sourcebind_node(id, autoremove = true) : Node
Sourcefinalize
Sourceon_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.
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.