MASRSRecognitionHwDeviceObserver Class Reference
class MASRSRecognitionHwDeviceObserver |
Observer for recognition HW device
asrsrecognitionhwdevice.lib
- Since
- 2.8
Member Functions Documentation
MarhdoEouDetected(TInt)
void | MarhdoEouDetected | ( | TInt | aError | ) | [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 aError | Recognition result code. KErrNone if successful, otherwise KErrTooLong, KErrTooShort, KErrAsrSpeechTooEarly, KErrNoSpeech |
MarhdoFeatureVector(const TDesC8 &, TInt32, TInt32)
Called by the hardware device when a feature vector is extracted by acoustic frontend.
- Since
- 2.8
Parameters
const TDesC8 & aFV | A buffer containing a feature vector. |
TInt32 aSNR | Signal-to-noise ratio. |
TInt32 aPosition | Indicates whether this is the first, subsequent or last feature vector in a series. |
MarhdoInitRecognizerBEComplete(TInt)
void | MarhdoInitRecognizerBEComplete | ( | TInt | aError | ) | [pure virtual] |
Called by the hardware device when backend initialization is completed.
- Since
- 2.8
Parameters
TInt aError | Initialization result code. KErrNone if successful otherwise a system-wide error code. |
MarhdoInitRecognizerFEComplete(TInt)
void | MarhdoInitRecognizerFEComplete | ( | TInt | aError | ) | [pure virtual] |
Called by the hardware device when the InitializeL() method has completed.
- Since
- 2.8
Parameters
TInt aError | Initialization result code. KErrNone if successful otherwise a system-wide error code. |
MarhdoInitializationComplete(TInt)
void | MarhdoInitializationComplete | ( | TInt | aError | ) | [pure virtual] |
Called by the hardware device when the InitializeL() method has completed.
- Since
- 2.8
Parameters
TInt aError | Initialization result code. KErrNone if successful otherwise a system-wide error code. |
MarhdoRecognitionComplete(TInt)
void | MarhdoRecognitionComplete | ( | TInt | aError | ) | [pure virtual] |
Called by the hardware device when recognition result is available.
- Since
- 2.8
Parameters
TInt aError | Recognition result code. KErrNone if successful. KErrRejected if the recognition result is rejected, otherwise a system-wide error code |
MarhdoRequestSpeechData()
void | MarhdoRequestSpeechData | ( | ) | [pure virtual] |
Called by the hardware device to request for utterance data. The response to the request is sent in SendSpeechData().
- Since
- 2.8
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.