Package org.bluez
Interface MediaEndpoint1
- All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface
public interface MediaEndpoint1
extends org.freedesktop.dbus.interfaces.DBusInterface
File generated - 2023-02-20.
Based on bluez Documentation: media-api.txt.
Service: unique name (Server role)
Interface: org.bluez.MediaEndpoint1
Object path:
freely definable (Server role)
[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/sepX
(Client role)
Supported properties:
string UUID [readonly, optional]:
UUID of the profile which the endpoint is for.
byte Codec [readonly, optional]:
Assigned number of codec that the endpoint implements.
The values should match the profile specification which
is indicated by the UUID.
array{byte} Capabilities [readonly, optional]:
Capabilities blob, it is used as it is so the size and
byte order must match.
object Device [readonly, optional]:
Device object which the endpoint is belongs to.
bool DelayReporting [readonly, optional]:
Indicates if endpoint supports Delay Reporting.
byte Framing [ISO only]
Indicates endpoint support framing.
byte PHY [ISO only]
Indicates endpoint supported PHY.
uint16_t MaximumLatency [ISO only]
Indicates endpoint maximum latency.
uint32_t MinimumDelay [ISO only]
Indicates endpoint minimum presentation delay.
uint32_t MaximumDelay [ISO only]
Indicates endpoint maximum presentation delay.
uint32_t PreferredMinimumDelay [ISO only]
Indicates endpoint preferred minimum presentation delay.
uint32_t PreferredMinimumDelay [ISO only]
Indicates endpoint preferred minimum presentation delay.
uint32 Location [ISO only]
Indicates endpoint supported locations.
uint16 SupportedContext [ISO only]
Indicates endpoint supported audio context.
uint16 Context [ISO only]
Indicates endpoint available audio context.
Based on bluez Documentation: media-api.txt.
Service: unique name (Server role)
Interface: org.bluez.MediaEndpoint1
Object path:
freely definable (Server role)
[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/sepX
(Client role)
Supported properties:
string UUID [readonly, optional]:
UUID of the profile which the endpoint is for.
byte Codec [readonly, optional]:
Assigned number of codec that the endpoint implements.
The values should match the profile specification which
is indicated by the UUID.
array{byte} Capabilities [readonly, optional]:
Capabilities blob, it is used as it is so the size and
byte order must match.
object Device [readonly, optional]:
Device object which the endpoint is belongs to.
bool DelayReporting [readonly, optional]:
Indicates if endpoint supports Delay Reporting.
byte Framing [ISO only]
Indicates endpoint support framing.
byte PHY [ISO only]
Indicates endpoint supported PHY.
uint16_t MaximumLatency [ISO only]
Indicates endpoint maximum latency.
uint32_t MinimumDelay [ISO only]
Indicates endpoint minimum presentation delay.
uint32_t MaximumDelay [ISO only]
Indicates endpoint maximum presentation delay.
uint32_t PreferredMinimumDelay [ISO only]
Indicates endpoint preferred minimum presentation delay.
uint32_t PreferredMinimumDelay [ISO only]
Indicates endpoint preferred minimum presentation delay.
uint32 Location [ISO only]
Indicates endpoint supported locations.
uint16 SupportedContext [ISO only]
Indicates endpoint supported audio context.
uint16 Context [ISO only]
Indicates endpoint available audio context.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClearConfiguration(org.freedesktop.dbus.DBusPath _transport) From bluez documentation:
Clear transport configuration.
voidRelease()From bluez documentation:
This method gets called when the service daemon
unregisters the endpoint.byte[]SelectConfiguration(byte[] _capabilities) From bluez documentation:
Select preferable configuration from the supported
capabilities.
Returns a configuration which can be used to setup
a transport.
Note: There is no need to cache the selected
configuration since on success the configuration is
send back as parameter of SetConfiguration.
SelectProperties(Map<String, org.freedesktop.dbus.types.Variant<?>> _properties) From bluez documentation:
Select preferable properties from the supported
properties:
object Endpoint [ISO only]
Refer to SetConfiguration for the list of
other possible properties.
Returns propeties which can be used to setup
a transport.
Note: There is no need to cache the selected
properties since on success the configuration is
send back as parameter of SetConfiguration.
voidSetConfiguration(org.freedesktop.dbus.DBusPath _transport, Map<String, org.freedesktop.dbus.types.Variant<?>> _properties) From bluez documentation:
Set configuration for the transport.
For client role transport must be set with a server
endpoint oject which will be configured and the
properties must contain the following properties:
array{byte} Capabilities [Mandatory]
array{byte} Metadata [ISO only]
byte CIG [ISO only]
byte CIS [ISO only]
uint32 Interval [ISO only]
bool Framing [ISO only]
string PHY [ISO only]
uint16 SDU [ISO only]
byte Retransmissions [ISO only]
uint16 Latency [ISO only]
uint32 Delay [ISO only]
uint8 TargetLatency [ISO Latency]
Methods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface
getObjectPath, isRemote
-
Method Details
-
SetConfiguration
void SetConfiguration(org.freedesktop.dbus.DBusPath _transport, Map<String, org.freedesktop.dbus.types.Variant<?>> _properties) From bluez documentation:
Set configuration for the transport.
For client role transport must be set with a server
endpoint oject which will be configured and the
properties must contain the following properties:
array{byte} Capabilities [Mandatory]
array{byte} Metadata [ISO only]
byte CIG [ISO only]
byte CIS [ISO only]
uint32 Interval [ISO only]
bool Framing [ISO only]
string PHY [ISO only]
uint16 SDU [ISO only]
byte Retransmissions [ISO only]
uint16 Latency [ISO only]
uint32 Delay [ISO only]
uint8 TargetLatency [ISO Latency]
- Parameters:
_transport- transport_properties- properties
-
SelectConfiguration
byte[] SelectConfiguration(byte[] _capabilities) From bluez documentation:
Select preferable configuration from the supported
capabilities.
Returns a configuration which can be used to setup
a transport.
Note: There is no need to cache the selected
configuration since on success the configuration is
send back as parameter of SetConfiguration.
- Parameters:
_capabilities- capabilities- Returns:
- byte[] - maybe null
-
SelectProperties
Map<String,org.freedesktop.dbus.types.Variant<?>> SelectProperties(Map<String, org.freedesktop.dbus.types.Variant<?>> _properties) From bluez documentation:
Select preferable properties from the supported
properties:
object Endpoint [ISO only]
Refer to SetConfiguration for the list of
other possible properties.
Returns propeties which can be used to setup
a transport.
Note: There is no need to cache the selected
properties since on success the configuration is
send back as parameter of SetConfiguration.
- Parameters:
_properties- properties- Returns:
- Map<String, Variant<?>> - maybe null
-
ClearConfiguration
void ClearConfiguration(org.freedesktop.dbus.DBusPath _transport) From bluez documentation:
Clear transport configuration.
- Parameters:
_transport- transport
-
Release
void Release()From bluez documentation:
This method gets called when the service daemon
unregisters the endpoint. An endpoint can use it to do
cleanup tasks. There is no need to unregister the
endpoint, because when this method gets called it has
already been unregistered.
-