BluezQt 5.109.0
|
Public Member Functions | |
~Media () override | |
Destroys a Media object. | |
PendingCall * | registerEndpoint (MediaEndpoint *endpoint) |
Registers endpoint. | |
PendingCall * | unregisterEndpoint (MediaEndpoint *endpoint) |
Unregisters endpoint. | |
Bluetooth Media.
This allows media endpoints to be established in accordance with the capabilities of a specific media service profile.
For example, an A2DP media endpoint could be created allowing data from a remote device to be streamed to/from the sender.
Each media endpoint is associated with a service object instance that implements the required behaviours of the endpoint. The service object must be created at a given path before it is registered.
|
override |
Destroys a Media object.
PendingCall * BluezQt::Media::registerEndpoint | ( | MediaEndpoint * | endpoint | ) |
Registers endpoint.
Register a local end point to sender, the sender can register as many end points as it likes.
Note: If the sender disconnects the end points are automatically unregistered.
Possible errors: PendingCall::InvalidArguments, PendingCall::NotSupported
endpoint | endpoint to be registered |
PendingCall * BluezQt::Media::unregisterEndpoint | ( | MediaEndpoint * | endpoint | ) |
Unregisters endpoint.
endpoint | endpoint to be unregistered |