class MPtiHwrRecognizer |
MHwrRecognizer class. Interface definiton for Hwr.
TInt | AddAuxiliaryRange | ( | const TRecognitionRange & | aRange | ) | [pure virtual] |
Appends an auxiliary range
const TRecognitionRange & aRange | The auxiliary range to be appended |
TInt | EnableGuideline | ( | const TBool | aFlag | ) | [pure virtual] |
Tell the HWR engine whether guideline is on.
const TBool aFlag | ETrue to enable guideline, and EFalse to diable. |
TInt | EnableRecognitionDictionary | ( | const TBool | aFlag | ) | [pure virtual] |
Tell the engine whether to use dictionary when doing reconition.
const TBool aFlag | ETrue to enable recognition dictionary, and EFalse to diable. |
void | EnableWordRecognition | ( | const TBool | aFlag | ) | [pure virtual] |
Enable or disable word recognition
const TBool aFlag | The word recognition flag, ETrue if enable word recognition, otherwise EFalse |
TInt | GetAuxCandidateNum | ( | ) | const [pure virtual] |
Retrieve the current each secondary candidate number need to be returned each time
void | GetBottomGuideLinePos | ( | TInt & | aPos | ) | [pure virtual] |
Set position of HWR bottom guideline
TInt & aPos | Position to be set |
TInt | GetCandidateNum | ( | ) | const [pure virtual] |
Retrieve the current primary candidate number need to be returned each time
TInt | GetDictVersion | ( | TDes & | aVersion | ) | [pure virtual] |
Retrieve an ASCII string that describes the version information of the basic recognition dictionary
TDes & aVersion | Contains recognition dictionary version string on return |
TInt | GetEngineVersion | ( | TDes & | aVersion | ) | [pure virtual] |
Retrieve an ASCII string that describes the version information of the current HWR engine
TDes & aVersion | Contains the engine version string on return |
TRecognitionRange | GetRange | ( | ) | [pure virtual] |
Get current recognition range of hwr engine
void | GetTopGuideLinePos | ( | TInt & | aPos | ) | [pure virtual] |
Set position of HWR top guideline
TInt & aPos | Position to be set |
void | McrAddStrokesL | ( | const RArray < TPoint > & | aTraceData, |
RPointerArray < HBufC > & | aResult | |||
) | [pure virtual] |
Get the character candidates from the HWR engine based on the input strokes by MCR
const RArray < TPoint > & aTraceData | The array of pen trace points, each stroke is ended by stroke end mark |
RPointerArray < HBufC > & aResult | Candidate buffer array |
void | McrBeginSessionL | ( | ) | [pure virtual] |
Tell the engine that a new MCR session has been started.
void | McrEndSessionL | ( | RPointerArray < HBufC > & | aResult | ) | [pure virtual] |
Tell the engine that a new MCR session need to be ended, return the last result.
RPointerArray < HBufC > & aResult |
MTruiEngine * | QueryUdmInterfaceL | ( | ) | [pure virtual] |
Retrieve MTruiEngine interface pointer if the derived engine support UDM feature.
TInt | Recognize | ( | const RArray < TPoint > & | aTraceData, |
RPointerArray < HBufC > & | aResult | |||
) | [pure virtual] |
Get the character candidates from the HWR engine based on the input strokes
const RArray < TPoint > & aTraceData | The array of pen trace points, each stroke is ended by stroke end mark |
RPointerArray < HBufC > & aResult | Candidate buffer array |
TInt | RecognizeWithCharSet | ( | const RArray < TPoint > & | aTraceData, |
RPointerArray < HBufC > & | aResult, | |||
const TDesC & | aCharSet | |||
) | [pure virtual] |
Get the character candidates from the HWR engine based on the input strokes
const RArray < TPoint > & aTraceData | The array of pen trace points, each stroke is ended by stroke end mark |
RPointerArray < HBufC > & aResult | Candidate buffer array |
const TDesC & aCharSet | The small charset that primary range candidate should come from |
void | RemoveAllAuxRange | ( | ) | [pure virtual] |
Remove all auxiliary recognition ranges
TInt | RemoveAuxiliaryRange | ( | TInt | aIndex | ) | [pure virtual] |
Remove an specified auxiliary recognition range.
TInt aIndex | The index of auxiliary range to be deleted |
TInt | SetAuxCandidateNum | ( | TInt | aNumber | ) | [pure virtual] |
Set the number of each secondary candidates the HWR engine should return each time
TInt aNumber | The number of each secondary candidates that HWR engine should return each time |
TInt | SetCandidateNum | ( | TInt | aNumber | ) | [pure virtual] |
Set the number of primary candidate candidates the HWR engine should return each time
TInt aNumber | The number of primary candidates that HWR engine should return each time |
void | SetFirstLetterOrder | ( | const TLatinLetterOrder | aOrder | ) | [pure virtual] |
Specify whether small case or upper case letter will be the first one in candidate list when the first two letters are the same if case is ignored
const TLatinLetterOrder aOrder | EUpperFirst if user wants upper case letter in the first, otherwise ELowerFirst |
TInt | SetInputAreaSize | ( | TSize & | aSize | ) | [pure virtual] |
Tell the HWR engine about the size of the writing area used to input character
TSize & aSize | The size of writing area |
void | SetNumberMode | ( | const TAknEditorNumericKeymap | aNumberMode | ) | [pure virtual] |
Set number mode
const TAknEditorNumericKeymap aNumberMode | Given number mode |
void | SetPermittedSymbolSet | ( | const TDesC & | aSymbolSet | ) | [pure virtual] |
Set permitted recognized character set
const TDesC & aSymbolSet | Permitted recognized character set |
TInt | SetRange | ( | const TRecognitionRange & | aRange | ) | [pure virtual] |
Set Hwr to given recognition range
const TRecognitionRange & aRange | Given recognition range |
TInt | SetScreenSize | ( | TSize & | aSize | ) | [pure virtual] |
Tell the HWR engine about the size of the touch screen
TSize & aSize | The size of touch screen |
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.