MDevTTSObserver Class Reference

class MDevTTSObserver

MDevTTSObserver

Interface for a set of DevTTS callback functions.

This mixin class is intended to be inherited by the DevTTS client. Functions of this class get called when DevTTS specific events occur.

nssdevtts.lib
Since
2.8

Member Functions Documentation

MdtoConfigurationData(TUint32, TUint32, TUint32, TUint32)

HBufC8 *MdtoConfigurationData(TUint32aPackageType,
TUint32aPackageID,
TUint32aStartPosition,
TUint32aEndPosition
)[pure virtual]

Invoked by DevTTS when it needs a configuration data package.

Since
2.8

Parameters

TUint32 aPackageType
TUint32 aPackageID
TUint32 aStartPosition
TUint32 aEndPosition

MdtoEvent(TDevTTSEvent, TInt)

voidMdtoEvent(TDevTTSEventaEvent,
TIntaStatus
)[pure virtual]

Called by DevTTS when an event occured. EDevTTSEventComplete is the only event that can happen currently.

Since
2.8

Parameters

TDevTTSEvent aEvent
TInt aStatus

MdtoProcessBuffer(const TDesC8 &)

voidMdtoProcessBuffer(const TDesC8 &aBuffer)[pure virtual]

Called by DevTTS device when output mode is EDevTTSClientMode and a new audio buffer has been filled by the synthesizer.

Since
2.8

Parameters

const TDesC8 & aBuffer