Wp.GlobalProxy¶
- Subclasses:
Wp.Client
,Wp.Device
,Wp.Factory
,Wp.Link
,Wp.Metadata
,Wp.Node
,Wp.Port
Methods¶
- Inherited:
- Structs:
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
w/co |
The factory name |
||
r/w/co |
The pipewire global properties |
||
r |
The pipewire global permissions |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Wp.GlobalProxy(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A proxy that represents a PipeWire global object, i.e. an object that is made available through the PipeWire registry.
- bind()¶
-
Binds to the global and creates the underlying pw_proxy.
This is mostly meant to be called internally. It will create the pw_proxy and will activate the
Wp.ProxyFeatures.PROXY_FEATURE_BOUND
feature. This may only be called if there is no pw_proxy associated with this object yet.
- get_global_properties()¶
- Returns:
the global (immutable) properties of this pipewire object
- Return type:
Gets the global properties of a pipewire global.
- get_permissions()¶
- Returns:
the permissions that wireplumber has on this object
- Return type:
Gets the permissions of a pipewire global.
- request_destroy()¶
Requests the PipeWire server to destroy the object represented by this proxy.
If the server allows it, the object will be destroyed and the
Wp.Proxy
's pw-proxy-destroyed signal will be emitted. If the server does not allow it, nothing will happen. This is mostly useful for destroyingWp.Link
objects.
Property Details¶
- Wp.GlobalProxy.props.factory_name¶
- Name:
factory-name
- Type:
- Default Value:
''
- Flags:
The factory name
- Wp.GlobalProxy.props.global_properties¶
- Name:
global-properties
- Type:
- Default Value:
- Flags:
The pipewire global properties