StringGet the Text
Kind: Instance method of TTSChunk
Returns: String - the KEY_TEXT value
SpeechCapabilitiesGet the Type
Kind: Instance method of TTSChunk
Returns: SpeechCapabilities - the KEY_TYPE value
TTSChunkSet the Text
Kind: Instance method of TTSChunk
Returns: TTSChunk - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| text | String |
The text or phonemes to speak, or the name of the audio file to play. May not be empty. - The desired Text. {'string_min_length': 0, 'string_max_length': 500} |
TTSChunkSet the Type
Kind: Instance method of TTSChunk
Returns: TTSChunk - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| type | SpeechCapabilities |
Describes whether the TTS chunk is plain text, a specific phoneme set, or an audio file. See SpeechCapabilities - The desired Type. |