CHeadsetStatusContainer Class Reference

class CHeadsetStatusContainer : public CBase

This implementation is a wrapper that encapsulates internal interfaces from extended SDK. Construction will leave with KErrNotSupported unless __ACCESSORY_FW flag is not defined.

Inherits from

  • CHeadsetStatusContainer

Constructor & Destructor Documentation

CHeadsetStatusContainer()

CHeadsetStatusContainer()[private]

Default Constructor

~CHeadsetStatusContainer()

~CHeadsetStatusContainer()

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Symbian OS 2nd phase constructor

IsObserving()

TBool IsObserving()const

Checks whether already observing.

NewL()

CHeadsetStatusContainer *NewL()[static]

Symbian two phased constructor.

QueryHeadsetStatus(TBool &)

TInt QueryHeadsetStatus(TBool &aState)

Used to query the headset connectivity status.

Parameters

TBool & aState

SetObserver(MHeadsetStatusObserver *)

voidSetObserver(MHeadsetStatusObserver *aObserver)

Sets observer through headset status notifications are received.

Parameters

MHeadsetStatusObserver * aObserver

StartObserving()

voidStartObserving()

Starts observing headset status changes.

StopObserving()

voidStopObserving()

Stops observing.