MASRSGrCompilerHwDeviceObserver Class Reference

class MASRSGrCompilerHwDeviceObserver

Callback class for Grammar Compiler.

asrgrcompilerhwdevice.lib
Since
2.8

Member Functions Documentation

MghdoConfigurationData(TUint32, TUint32, TUint32, TUint32)

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

Callback function to load configuration data. Client provides an implementation.

Parameters

TUint32 aPackageType Type identifier.
TUint32 aPackageID Package identifier.
TUint32 aStartPosition = 0 First byte.
TUint32 aEndPosition =  KMaxTUint32 Last byte. If greater than the size of the data, rest of the data is given.

MghdoGrammarCombinerComplete(HBufC8 *, TInt)

void MghdoGrammarCombinerComplete ( HBufC8 * aResult,
TInt aError
) [pure virtual]
Called after grammar combination has finished or stopped.
Since
2.8

Parameters

HBufC8 * aResult The compiled grammar. Format dependes on the technology provider.
TInt aError KErrNone or a system-wide error code

MghdoGrammarCompilerComplete(TInt)

void MghdoGrammarCompilerComplete ( TInt aError ) [pure virtual]
Called after grammar compilation has finished or stopped.
Since
2.8

Parameters

TInt aError KErrNone or a system-wide error code

MghdoSILexiconL(TSILexiconID)

CSILexicon * MghdoSILexiconL ( TSILexiconID aID ) [pure virtual]
Combination and compilation operations require lexicons. To provide those lexicons when needed, the client must implement these functions. CASRGrCompilerHwDevice takes ownership of the data.
Since
2.8

Parameters

TSILexiconID aID The lexicon identifier