CASRSTtpHwDevice Class Reference
class CASRSTtpHwDevice : public CASRSHwDevice |
TTP HW Device interface.
asrsttphwdevice.lib
Constructor & Destructor Documentation
CASRSTtpHwDevice(MASRSTtpHwDeviceObserver &)
CASRSTtpHwDevice(const CASRSTtpHwDevice &)
~CASRSTtpHwDevice()
IMPORT_C | ~CASRSTtpHwDevice | ( | ) | [virtual] |
Member Functions Documentation
CancelWordListConversion()
IMPORT_C void | CancelWordListConversion | ( | ) | |
Use to cancel running word list conversion.
Clear()
IMPORT_C void | Clear | ( | ) | [virtual] |
ConfigurationData(TUint32, TUint32, TUint32, TUint32)
Function to notify that configuration data is needed. Called by CTtpCallback.
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. |
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
ConvertTextL(const TDesC &, TLanguage &)
Use to convert text to phonemes.
Parameters
const TDesC & aText | Text to be converted |
TLanguage & aLanguage | Used language |
ConvertWordListL(CSITtpWordList &, const RArray< TLanguage >, const RArray< TUint32 >)
Use to convert list of words to pronunciation sequences.
Parameters
CSITtpWordList & aWordList | Initialized word list to where pronunciations will be added. Client will keep the ownership of CSITtpWordList also after this call. |
const RArray< TLanguage > aDefaultLanguage | Language which overrides the first identified language. Iflanguage is ELangOther, language identification will be used. |
const RArray< TUint32 > aMaxNPronunsForWord | Maximum number of pronunciations (languages) for each word. |
CustomInterface(TUid)
IMPORT_C TAny * | CustomInterface | ( | TUid | aInterfaceId | ) | [virtual] |
Parameters
TUid aInterfaceId | ID of wanted custom interface |
InitializeL()
IMPORT_C void | InitializeL | ( | ) | [virtual] |
LanguageIdentificationL(const TDesC &, TInt, RArray< TLanguage > &, RArray< TInt > &)
Tries to identify the language of given text
NewL(MASRSTtpHwDeviceObserver &)
PhonemeNotation()
IMPORT_C const TDesC & | PhonemeNotation | ( | ) | |
Gets the current phoneme notation indentifier.
SetPhonemeNotationL(const TDesC &)
IMPORT_C void | SetPhonemeNotationL | ( | const TDesC & | aNotation | ) | |
Sets the phoneme notation used in output.
Parameters
const TDesC & aNotation | Phoneme notation identifier. |
WordListReady(const TInt)
void | WordListReady | ( | const TInt | aError | ) | [private] |
Function to notify that word list is converted Called by CTtpCallback.
Parameters
const TInt aError | Error code |
operator=(const CASRSTtpHwDevice &)
Member Data Documentation
MASRSTtpHwDeviceObserver & iObserver
CTtpCallback * iTTPAlgObserver
CTtpCallback * | iTTPAlgObserver | [private] |
CTTPAlgorithm * iTTPAlgorithm
CTTPAlgorithm * | iTTPAlgorithm | [private] |
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.