getVoice static method
Get the current voice.
Returns
- The voice
Throws
- An exception if it fails.
Implementation
static Voice getVoice() {
final OperationResult resultString = staticMethod(
'SdkSettings',
'getVoice',
);
return Voice.init(resultString['result']);
}