CNssSpeechItemSrsPortal Class Reference
class CNssSpeechItemSrsPortal : public CBase |
This class handles accessing the SpeechRecognitionUtility services. It allows only one transaction for each SpeechItem object to be in progress at any given time.
Constructor & Destructor Documentation
CNssSpeechItemSrsPortal()
CNssSpeechItemSrsPortal | ( | ) | [private] |
~CNssSpeechItemSrsPortal()
~CNssSpeechItemSrsPortal | ( | ) | |
Member Functions Documentation
Deregister()
Decrement the counter when SpeechItem objects is destroy. If the counter is zero and the state is in termination state, the portal will destroy the SpeechRecognitionUtility object if exist, and it destroys itself.
- Since
- 2.0
GetTrainingCapability()
Get training capabilities from SpeechRecognitionUtility object.
- Since
- 2.0
IsEnginePropertySet()
TBool
| IsEnginePropertySet | ( | ) | |
Return the status of whether the Engine Property Set flag
MaxLoadableModels()
Return the Maximum Loadable Models from the SRS
ModelStorageCapacity()
TInt
| ModelStorageCapacity | ( | ) | |
Return the Model Storage Capacity from the SRS
Register()
Increment the counter to count the number of created SpeechItem objects.
- Since
- 2.0
SetEngineProperty(TInt, TInt)
void | SetEngineProperty | ( | TInt | aModelStorageCapacity, |
| TInt | aMaxLoadableModels |
| ) | |
Return the Maximum Loadable Models from the SRS
Parameters
TInt aModelStorageCapacity | |
TInt aMaxLoadableModels | |
SetTerminationState()
void | SetTerminationState | ( | ) | |
Requests that the value of the state be changed to Termination state. If the counter is zero, the SpeechItemPortal will delete itself.
- Since
- 2.0
operator=(const CNssSpeechItemSrsPortal &)
overloaded assignment operator
Member Data Documentation
TBool
iEnginePropertySet
TBool
| iEnginePropertySet | [private] |
TInt
iMaxLoadableModels
TInt
| iMaxLoadableModels | [private] |
TInt
iModelStorageCapacity
TInt
| iModelStorageCapacity | [private] |
TInt
iSpeechItemCounter
TInt
| iSpeechItemCounter | [private] |
TNssSpeechItemConstant::TNssState
iState
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.