

Public Member Functions | |
| virtual bool | isWord () const |
| virtual bool | isVoicetag () const |
Static Public Member Functions | |
| static WordItemProxy | create (const char *word, const char **pronunciations, ARRAY_LIMIT pronunciationCount, ReturnCode::Type &returnCode) |
| static WordItemProxy | create (const char *word, const char *pronunciation, ReturnCode::Type &returnCode) |
Protected Member Functions | |
| WordItem () | |
| virtual | ~WordItem () |
Friends | |
| class | WordItemProxy |
| class | android::speech::recognition::srec::SrecGrammarImpl |
| class | SlotItemProxy |
| android.speech.recognition.WordItem.WordItem | ( | ) | [protected] |
Prevent construction.
| virtual android.speech.recognition.WordItem.~WordItem | ( | ) | [protected, virtual] |
Prevent destruction.
| static WordItemProxy android.speech.recognition.WordItem.create | ( | const char * | word, | |
| const char ** | pronunciations, | |||
| ARRAY_LIMIT | pronunciationCount, | |||
| ReturnCode::Type & | returnCode | |||
| ) | [static] |
Creates a new WordItem.
| word | the word to insert | |
| pronunciations | the pronunciations to associated with the item. If the list is is empty the recognizer will attempt to guess the pronunciations. | |
| pronunciationCount | the number of pronunciations | |
| returnCode | the return code |
| static WordItemProxy android.speech.recognition.WordItem.create | ( | const char * | word, | |
| const char * | pronunciation, | |||
| ReturnCode::Type & | returnCode | |||
| ) | [static] |
Creates a new WordItem. This convenience method is equivilent to invoking create(word, pronunciations, pronunciationCount, returnCode) with a single proununciation.
| word | the word to insert | |
| pronunciation | the pronunciation to associated with the item. If the value is null the recognizer will attempt to guess the pronunciation. | |
| returnCode | the return code |
| virtual bool android.speech.recognition.WordItem.isWord | ( | ) | const [virtual] |
Returns true if the item is a word.
Implements android.speech.recognition.SlotItem.
| virtual bool android.speech.recognition.WordItem.isVoicetag | ( | ) | const [virtual] |
Returns true if the item is a voicetag.
Implements android.speech.recognition.SlotItem.
1.5.3