CBTAccPlugin Class Reference

class CBTAccPlugin : public CBase

Inherits from

Constructor & Destructor Documentation

CBTAccPlugin(TPluginParams &)

CBTAccPlugin(TPluginParams &aParams)[protected, inline]

Constructor

Parameters

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

~CBTAccPlugin()

~CBTAccPlugin()[inline, virtual]

Destructor.

Member Functions Documentation

AccInUse()

voidAccInUse()[pure virtual]

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

AccOutOfUse()

voidAccOutOfUse()[inline, virtual]

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

ActivateRemoteVolumeControl()

voidActivateRemoteVolumeControl()[inline, virtual]

AudioLinkLatency()

TInt AudioLinkLatency()[inline, virtual]

CancelCloseAudioLink(const TBTDevAddr &)

voidCancelCloseAudioLink(const TBTDevAddr &aAddr)[inline, virtual]

Called by BT Acc Sever to cancel closing of audio link

Parameters

const TBTDevAddr & aAddrBluetooth Device address of the remote device

CancelConnectToAccessory(const TBTDevAddr &)

voidCancelConnectToAccessory(const TBTDevAddr &aAddr)[inline, virtual]

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

Parameters

const TBTDevAddr & aAddrBluetooth Device address of the remote device

CancelOpenAudioLink(const TBTDevAddr &)

voidCancelOpenAudioLink(const TBTDevAddr &aAddr)[inline, virtual]

Called by BT Acc Sever to cancel opening of audio link

Parameters

const TBTDevAddr & aAddrBluetooth Device address of the remote device

CloseAudioLink(const TBTDevAddr &, TRequestStatus &)

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

Called by BT Acc Sever to close audio link

Parameters

const TBTDevAddr & aAddrBluetooth Device address of the remote device
TRequestStatus & aStatus

ConnectToAccessory(const TBTDevAddr &, TRequestStatus &)

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

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

Parameters

const TBTDevAddr & aAddrBluetooth Device address of the remote device
TRequestStatus & aStatus

DeActivateRemoteVolumeControl()

voidDeActivateRemoteVolumeControl()[inline, virtual]

DisconnectAccessory(const TBTDevAddr &, TRequestStatus &)

voidDisconnectAccessory(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 & aAddrBluetooth Device address of the remote device
TRequestStatus & aStatus

GetRemoteSupportedFeature()

TInt GetRemoteSupportedFeature()[inline, virtual]

NewL(TPluginParams &)

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

Constructor.

Parameters

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

Observer()

MBTAccObserver &Observer()[protected, inline]

Accessor for the observer.

OpenAudioLink(const TBTDevAddr &, TRequestStatus &)

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

Called by BT Acc Sever to open audio link

Parameters

const TBTDevAddr & aAddrBluetooth Device address of the remote device
TRequestStatus & aStatus

PluginType()

TProfiles PluginType()[pure virtual]

Check whether plugin supports mono audio

StartRecording()

voidStartRecording()[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 TUidiImplementationUid[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]