MASRSRecognitionHwDeviceObserver Class Reference

class MASRSRecognitionHwDeviceObserver

Observer for recognition HW device

asrsrecognitionhwdevice.lib
Since
2.8

Member Functions Documentation

MarhdoEouDetected(TInt)

voidMarhdoEouDetected(TIntaError)[pure virtual]
Called by the hardware device when end-of-utterance is detected by the acoustic frontend. This method must be called before MarhdoRecognitionComplete().
Since
2.8

Parameters

TInt aErrorRecognition result code. KErrNone if successful, otherwise KErrTooLong, KErrTooShort, KErrAsrSpeechTooEarly, KErrNoSpeech

MarhdoFeatureVector(const TDesC8 &, TInt32, TInt32)

voidMarhdoFeatureVector(const TDesC8 &aFV,
TInt32aSNR,
TInt32aPosition
)[pure virtual]
Called by the hardware device when a feature vector is extracted by acoustic frontend.
Since
2.8

Parameters

const TDesC8 & aFVA buffer containing a feature vector.
TInt32 aSNRSignal-to-noise ratio.
TInt32 aPositionIndicates whether this is the first, subsequent or last feature vector in a series.

MarhdoInitRecognizerBEComplete(TInt)

voidMarhdoInitRecognizerBEComplete(TIntaError)[pure virtual]
Called by the hardware device when backend initialization is completed.
Since
2.8

Parameters

TInt aErrorInitialization result code. KErrNone if successful otherwise a system-wide error code.

MarhdoInitRecognizerFEComplete(TInt)

voidMarhdoInitRecognizerFEComplete(TIntaError)[pure virtual]
Called by the hardware device when the InitializeL() method has completed.
Since
2.8

Parameters

TInt aErrorInitialization result code. KErrNone if successful otherwise a system-wide error code.

MarhdoInitializationComplete(TInt)

voidMarhdoInitializationComplete(TIntaError)[pure virtual]
Called by the hardware device when the InitializeL() method has completed.
Since
2.8

Parameters

TInt aErrorInitialization result code. KErrNone if successful otherwise a system-wide error code.

MarhdoRecognitionComplete(TInt)

voidMarhdoRecognitionComplete(TIntaError)[pure virtual]
Called by the hardware device when recognition result is available.
Since
2.8

Parameters

TInt aErrorRecognition result code. KErrNone if successful. KErrRejected if the recognition result is rejected, otherwise a system-wide error code

MarhdoRequestSpeechData()

voidMarhdoRequestSpeechData()[pure virtual]
Called by the hardware device to request for utterance data. The response to the request is sent in SendSpeechData().
Since
2.8