Wp.Proxy¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
The id that this object has on the registry |
||
r |
The struct pw_proxy * |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Wp.Proxy(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Base class for all objects that expose PipeWire objects using pw_proxy underneath. This base class cannot be instantiated. It provides handling of pw_proxy’s events and exposes common functionality.
- get_bound_id()¶
- Returns:
the bound id of this object
- Return type:
Returns the proxy bound id.
The bound id is the id that this object has on the PipeWire registry (a.k.a. the global id). The object must have the
Wp.ProxyFeatures.PROXY_FEATURE_BOUND
feature before this method can be called. RequiresWp.ProxyFeatures.PROXY_FEATURE_BOUND
- get_interface_type()¶
- Returns:
the PipeWire type of the interface that is being proxied
- version:
the version of the interface
- Return type:
Gets the interface type of the proxied object.
- get_pw_proxy()¶
-
Gets the pw_proxy wrapped by this proxy object.
- set_pw_proxy(proxy)¶
-
Private method to be used by subclasses to set the pw_proxy pointer when it is available.
This can be called only if there is no pw_proxy already set. Takes ownership of proxy.
- do_pw_proxy_destroyed() virtual¶
Signal Details¶
- Wp.Proxy.signals.bound(proxy, object)¶
- Wp.Proxy.signals.error(proxy, object, p0, p1)¶
- Wp.Proxy.signals.pw_proxy_created(proxy, object)¶
Property Details¶
- Wp.Proxy.props.bound_id¶
-
The id that this object has on the registry