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

Constructor & Destructor Documentation

CHeadsetStatusContainer()

CHeadsetStatusContainer ( ) [private]

Default Constructor

~CHeadsetStatusContainer()

~CHeadsetStatusContainer ( )

Destructor

Member Functions Documentation

ConstructL()

void ConstructL ( ) [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 *)

void SetObserver ( MHeadsetStatusObserver * aObserver )

Sets observer through headset status notifications are received.

Parameters

MHeadsetStatusObserver * aObserver

StartObserving()

void StartObserving ( )

Starts observing headset status changes.

StopObserving()

void StopObserving ( )

Stops observing.