ORG.BLUEZ.MEDIA(5) | Linux System Administration | ORG.BLUEZ.MEDIA(5) |
NAME¶
org.bluez.Media - BlueZ D-Bus Media API documentation
INTERFACE¶
- Service
- org.bluez
- Interface
- org.bluez.Media1
- Object path
- [variable prefix]/{hci0,hci1,...}
Methods¶
void RegisterEndpoint(object endpoint, dict properties)¶
Note: If the sender disconnects the end points are automatically unregistered.
possible properties:
- string UUID
- UUID of the profile which the endpoint is for.
UUID must be in the list of SupportedUUIDS.
- byte Codec
- Assigned number of codec that the endpoint implements. The values should match the profile specification which is indicated by the UUID.
- uint32_t Vendor [Optional]
- Vendor-specific Company ID, Codec ID tuple that the endpoint implements.
It shall be set to appropriate value when Vendor Specific Codec (0xff) is used.
- array{byte} Capabilities
- Capabilities blob, it is used as it is so the size and byte order must match.
- array{byte} Metadata [Optional]
- Metadata blob, it is used as it is so the size and byte order must match.
Possible Errors:
- org.bluez.Error.InvalidArguments
- org.bluez.Error.NotSupported
- emitted when interface for the end-point is disabled
void UnregisterEndpoint(object endpoint)¶
void RegisterPlayer(object player, dict properties)¶
Object must implement at least org.mpris.MediaPlayer2.Player as defined in MPRIS 2.2 spec:
Note: If the sender disconnects its objects are automatically unregistered.
Possible Errors:
void UnregisterPlayer(object player)¶
void RegisterApplication(object root, dict options)¶
The application object path together with the D-Bus system bus connection ID define the identification of the application.
Possible errors:
void UnregisterApplication(object application)¶
Possible errors:
Properties¶
array{string} SupportedUUIDs [readonly]¶
September 2023 | BlueZ |