getVoice static method

Voice getVoice()

Returns the currently selected Voice object.

Returns

  • Voice: the active voice instance.

Also see:

Implementation

static Voice getVoice() {
  final OperationResult resultString = staticMethod(
    'SdkSettings',
    'getVoice',
  );

  return Voice.init(resultString['result']);
}