getVoice static method
Returns the currently selected Voice object.
Returns
- Voice: the active voice instance.
Also see:
- setTTSVoiceByLanguage - Set the TTS voice by language.
Implementation
static Voice getVoice() {
final OperationResult resultString = staticMethod(
'SdkSettings',
'getVoice',
);
return Voice.init(resultString['result']);
}