BluezQt 5.109.0
Public Member Functions | List of all members
BluezQt::Media

Bluetooth Media. More...

Public Member Functions

 ~Media () override
 Destroys a Media object.
 
PendingCallregisterEndpoint (MediaEndpoint *endpoint)
 Registers endpoint.
 
PendingCallunregisterEndpoint (MediaEndpoint *endpoint)
 Unregisters endpoint.
 

Detailed Description

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.

See also
MediaEndpoint

Constructor & Destructor Documentation

◆ ~Media()

BluezQt::Media::~Media ( )
override

Destroys a Media object.

Member Function Documentation

◆ registerEndpoint()

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

Parameters
endpointendpoint to be registered
Returns
void pending call

◆ unregisterEndpoint()

PendingCall * BluezQt::Media::unregisterEndpoint ( MediaEndpoint endpoint)

Unregisters endpoint.

Parameters
endpointendpoint to be unregistered
Returns
void pending call