Public Member Functions | |
virtual void | getAudio (const INT16 **waveform, ARRAY_LIMIT *size, ReturnCode::Type &returnCode) const =0 |
virtual void | setAudio (const INT16 *waveform, ARRAY_LIMIT size, ReturnCode::Type &returnCode)=0 |
virtual bool | isWord () const |
virtual bool | isVoicetag () const |
Protected Member Functions | |
VoicetagItem () | |
virtual | ~VoicetagItem () |
Friends | |
class | VoicetagItemProxy |
class | android::speech::recognition::srec::SrecGrammarImpl |
class | SlotItemProxy |
android.speech.recognition.VoicetagItem.VoicetagItem | ( | ) | [protected] |
Prevent construction.
virtual android.speech.recognition.VoicetagItem.~VoicetagItem | ( | ) | [protected, virtual] |
Prevent destruction.
virtual void android.speech.recognition.VoicetagItem.getAudio | ( | const INT16 ** | waveform, | |
ARRAY_LIMIT * | size, | |||
ReturnCode::Type & | returnCode | |||
) | const [pure virtual] |
(Optional operation) Returns the audio used to construct the Voicetag. The audio is in PCM format and is start-pointed and end-pointed. The audio is only generated if the enableGetWaveform recognition parameter is set prior to recognition.
waveform | the read-only endpointed waveform | |
size | the size of the waveform in bytes | |
returnCode | the return code |
virtual void android.speech.recognition.VoicetagItem.setAudio | ( | const INT16 * | waveform, | |
ARRAY_LIMIT | size, | |||
ReturnCode::Type & | returnCode | |||
) | [pure virtual] |
(Optional operation) Sets the audio used to construct the Voicetag. The audio is in PCM format and is start-pointed and end-pointed. The audio is only generated if the enableGetWaveform recognition parameter is set prior to recognition.
waveform | the endpointed waveform | |
size | the size of the waveform in bytes | |
returnCode | the return code |
virtual bool android.speech.recognition.VoicetagItem.isWord | ( | ) | const [virtual] |
Returns true if the item is a word.
Implements android.speech.recognition.SlotItem.
virtual bool android.speech.recognition.VoicetagItem.isVoicetag | ( | ) | const [virtual] |
Returns true if the item is a voicetag.
Implements android.speech.recognition.SlotItem.