Wp.ImplMetadata

g GObject.Object GObject.Object Wp.Object Wp.Object GObject.Object->Wp.Object Wp.GlobalProxy Wp.GlobalProxy Wp.Metadata Wp.Metadata Wp.GlobalProxy->Wp.Metadata Wp.ImplMetadata Wp.ImplMetadata Wp.Metadata->Wp.ImplMetadata Wp.Proxy Wp.Proxy Wp.Object->Wp.Proxy Wp.Proxy->Wp.GlobalProxy

Subclasses:

None

Methods

Inherited:

Wp.Metadata (4), Wp.GlobalProxy (4), Wp.Proxy (4), Wp.Object (12), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (core)

class

new_full (core, name, properties)

Virtual Methods

Inherited:

Wp.Proxy (4), Wp.Object (4), GObject.Object (7)

Properties

Inherited:

Wp.GlobalProxy (3), Wp.Proxy (2), Wp.Object (4)

Name

Type

Flags

Short Description

name

str

r/w/co

The metadata name

properties

Wp.Properties

r/w/co

The metadata properties

Signals

Inherited:

Wp.Metadata (1), Wp.Proxy (4), GObject.Object (1)

Fields

Inherited:

Wp.Metadata (1), Wp.Proxy (4), GObject.Object (1)

Class Details

class Wp.ImplMetadata(**kwargs)
Bases:

Wp.Metadata

Abstract:

No

Structure:

Wp.ImplMetadataClass

Implementation of the metadata object. Activate this object with at least Wp.ProxyFeatures.PROXY_FEATURE_BOUND to export it to PipeWire.

classmethod new(core)
Parameters:

core (Wp.Core) – the core

Returns:

a new Wp.ImplMetadata

Return type:

Wp.ImplMetadata

Creates a new metadata implementation.

classmethod new_full(core, name, properties)
Parameters:
Returns:

a new Wp.ImplMetadata

Return type:

Wp.ImplMetadata

Creates a new metadata implementation with name and properties.

New in version 0.4.3.

Property Details

Wp.ImplMetadata.props.name
Name:

name

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The metadata name

Wp.ImplMetadata.props.properties
Name:

properties

Type:

Wp.Properties

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The metadata properties