CBTAccPlugin Class Reference

class CBTAccPlugin : public CBase

Inherits from

Constructor & Destructor Documentation

CBTAccPlugin(TPluginParams &)

CBTAccPlugin ( TPluginParams & aParams ) [protected, inline]

Constructor

Parameters

TPluginParams & aParams Parameters from plugin manager, used to initialise the implementation.

~CBTAccPlugin()

~CBTAccPlugin ( ) [inline, virtual]

Destructor.

Member Functions Documentation

AccInUse()

void AccInUse ( ) [pure virtual]

Called by BT Acc Sever to inform plugin that accessory is in use (attached to acc fw).

AccOutOfUse()

void AccOutOfUse ( ) [inline, virtual]

Called by BT Acc Sever to inform plugin that accessory is out of use (detached from acc fw).

ActivateRemoteVolumeControl()

void ActivateRemoteVolumeControl ( ) [inline, virtual]

AudioLinkLatency()

TInt AudioLinkLatency ( ) [inline, virtual]

CancelCloseAudioLink(const TBTDevAddr &)

void CancelCloseAudioLink ( const TBTDevAddr & aAddr ) [inline, virtual]

Called by BT Acc Sever to cancel closing of audio link

Parameters

const TBTDevAddr & aAddr Bluetooth Device address of the remote device

CancelConnectToAccessory(const TBTDevAddr &)

void CancelConnectToAccessory ( const TBTDevAddr & aAddr ) [inline, virtual]

Called by BT Acc Sever to cancel connect to mono or stereo accessory

Parameters

const TBTDevAddr & aAddr Bluetooth Device address of the remote device

CancelOpenAudioLink(const TBTDevAddr &)

void CancelOpenAudioLink ( const TBTDevAddr & aAddr ) [inline, virtual]

Called by BT Acc Sever to cancel opening of audio link

Parameters

const TBTDevAddr & aAddr Bluetooth Device address of the remote device

CloseAudioLink(const TBTDevAddr &, TRequestStatus &)

void CloseAudioLink ( const TBTDevAddr & aAddr,
TRequestStatus & aStatus
) [inline, virtual]

Called by BT Acc Sever to close audio link

Parameters

const TBTDevAddr & aAddr Bluetooth Device address of the remote device
TRequestStatus & aStatus

ConnectToAccessory(const TBTDevAddr &, TRequestStatus &)

void ConnectToAccessory ( const TBTDevAddr & aAddr,
TRequestStatus & aStatus
) [inline, virtual]

Called by BT Acc Sever to connect to mono or stereo accessory

Parameters

const TBTDevAddr & aAddr Bluetooth Device address of the remote device
TRequestStatus & aStatus

DeActivateRemoteVolumeControl()

void DeActivateRemoteVolumeControl ( ) [inline, virtual]

DisconnectAccessory(const TBTDevAddr &, TRequestStatus &)

void DisconnectAccessory ( const TBTDevAddr & aAddr,
TRequestStatus & aStatus
) [pure virtual]

Called by BT Acc Sever to disconnect from mono, stereo or remote control profile accessory

Parameters

const TBTDevAddr & aAddr Bluetooth Device address of the remote device
TRequestStatus & aStatus

GetRemoteSupportedFeature()

TInt GetRemoteSupportedFeature ( ) [inline, virtual]

NewL(TPluginParams &)

CBTAccPlugin * NewL ( TPluginParams & aParams ) [static, inline]

Constructor.

Parameters

TPluginParams & aParams Parameters from BT Acc Server, used to initialise the implementation.

Observer()

MBTAccObserver & Observer ( ) [protected, inline]

Accessor for the observer.

OpenAudioLink(const TBTDevAddr &, TRequestStatus &)

void OpenAudioLink ( const TBTDevAddr & aAddr,
TRequestStatus & aStatus
) [inline, virtual]

Called by BT Acc Sever to open audio link

Parameters

const TBTDevAddr & aAddr Bluetooth Device address of the remote device
TRequestStatus & aStatus

PluginType()

TProfiles PluginType ( ) [pure virtual]

Check whether plugin supports mono audio

StartRecording()

void StartRecording ( ) [inline, virtual]

BTAccServer informs 'BTSAC plugin' that it can start streaming

Uid()

TUid Uid ( ) const [inline]

Called by BT Acc Server to query the plugin's implementation UID.

Member Data Documentation

const TUid iImplementationUid

const TUid iImplementationUid [private]

Implementation UID of concrete instance.

TUid iInstanceId

TUid iInstanceId [private]

UID set by ECOM when the instance is created. Used when the instance is destroyed.

MBTAccObserver & iObserver

MBTAccObserver & iObserver [private]