CATAudioEventAPI Class Reference

class CATAudioEventAPI : public CBase

Implements client side API for Audio Theme sound server.

ATSoundServerClient.lib
Since
Series 60 release 3.0

Inherits from

Constructor & Destructor Documentation

CATAudioEventAPI(MATEventCompleteObserver &)

CATAudioEventAPI ( MATEventCompleteObserver & aClient ) [private]
C++ default constructor.
Since
3.0

Parameters

MATEventCompleteObserver & aClient reference to client object

~CATAudioEventAPI()

~CATAudioEventAPI ( )

Destructor

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Symbian 2nd phase constructor.

MessageComplete(TInt, CATMessageHelper *)

void MessageComplete ( TInt aError,
CATMessageHelper * aHelper
)
This methods is called by message helper when sent messages completes. Client will be called for completion in this method as well.
Since
3.0

Parameters

TInt aError error code
CATMessageHelper * aHelper messagehelper that received completion from the server.

NewL(MATEventCompleteObserver &)

IMPORT_C CATAudioEventAPI * NewL ( MATEventCompleteObserver & aClient ) [static]
Two-phased constructor.
Since
3.0

Parameters

MATEventCompleteObserver & aClient reference to client object

NewLC(MATEventCompleteObserver &)

IMPORT_C CATAudioEventAPI * NewLC ( MATEventCompleteObserver & aClient ) [static]
Two-phased constructor. Leaves pointer to object to cleanup stack.
Since
3.0

Parameters

MATEventCompleteObserver & aClient reference to client object

SendAudioEventL(TAudioThemeEvent, TBool)

void SendAudioEventL ( TAudioThemeEvent aEvent,
TBool aDemoPlay
) [virtual]
Send event to the server. UI Settings uses demoplay as true, so that server will play "profile" events as well.
Since
3.0

Parameters

TAudioThemeEvent aEvent event number aDemoPlay ETrue if called from UI settings application, EFalse from observer and keysoundserver
TBool aDemoPlay

StopAudio(TAudioThemeEvent)

void StopAudio ( TAudioThemeEvent aEvent ) [virtual]
Stop playing of earlier sent playing request.
Since
3.0

Parameters

TAudioThemeEvent aEvent event number

Member Data Documentation

MATEventCompleteObserver & iClient

MATEventCompleteObserver & iClient [private]

RPointerArray< CATMessageHelper > iMessageHelperArray

RPointerArray < CATMessageHelper > iMessageHelperArray [private]

RATSoundServerSession * iSession

RATSoundServerSession * iSession [private]