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(TUint32aPackageType,
TUint32aPackageID,
TUint32aStartPosition = 0,
TUint32aEndPosition =  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)

voidDevASREvent(TDevASREventaEvent,
TDevASRErroraError
)[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 &)

voidDevASRMessage(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)

voidFeatureVectorDataRcvd(const TDesC8 &aFV,
TInt32aSNR,
TInt32aPosition
)[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()

voidRequestSpeechData()[pure virtual]

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

Since
2.8

SILexiconL(TSILexiconID)

CSILexicon *SILexiconL(TSILexiconIDaLexiconID)[pure virtual]

Called when DevASR needs a SI lexicon.

Since
2.8

Parameters

TSILexiconID aLexiconID