MDevASRObserver Class Reference

class MDevASRObserver

Interface for the DevASR callbacks that are implemented by DevASR observers.

NssDevASR.lib
Since
2.8

Member Functions Documentation

ConfigurationData(TUint32, TUint32, TUint32, TUint32)

HBufC8 * ConfigurationData ( TUint32 aPackageType,
TUint32 aPackageID,
TUint32 aStartPosition = 0,
TUint32 aEndPosition =  KMaxTUint32
) [pure virtual]

DevASR calls this method to get configuration data.

Since
2.8

Parameters

TUint32 aPackageType
TUint32 aPackageID
TUint32 aStartPosition = 0
TUint32 aEndPosition =  KMaxTUint32

DevASREvent(TDevASREvent, TDevASRError)

void DevASREvent ( TDevASREvent aEvent,
TDevASRError aError
) [pure virtual]

DevASR notifies object implementing this interface whenever a spontaneous or non-spontaneous event occurs in DevASR.

Since
2.8

Parameters

TDevASREvent aEvent
TDevASRError aError

DevASRMessage(TDesC8 &)

void DevASRMessage ( TDesC8 & aMsg ) [pure virtual]

DevASR calls this method to send a message in response to a custom command.

Since
2.8

Parameters

TDesC8 & aMsg

FeatureVectorDataRcvd(const TDesC8 &, TInt32, TInt32)

void FeatureVectorDataRcvd ( const TDesC8 & aFV,
TInt32 aSNR,
TInt32 aPosition
) [pure virtual]

DevASR notifies object implementing this interface when feature vectors are available.

Since
2.8

Parameters

const TDesC8 & aFV
TInt32 aSNR
TInt32 aPosition

RequestSpeechData()

void RequestSpeechData ( ) [pure virtual]

Invoked by DevASR when it needs utterance data. The response is sent using SendSpeechData().

Since
2.8

SILexiconL(TSILexiconID)

CSILexicon * SILexiconL ( TSILexiconID aLexiconID ) [pure virtual]

Called when DevASR needs a SI lexicon.

Since
2.8

Parameters

TSILexiconID aLexiconID