canPlaySounds property

bool get canPlaySounds

Gets whether the SDK will play TTS instructions automatically.

Returns

  • True if the SDK will play TTS instructions automatically, false otherwise.

Implementation

static bool get canPlaySounds {
  final OperationResult result = staticMethod(
    'SoundService',
    'getCanPlaySound',
  );
  return result['result'];
}
set canPlaySounds (bool canPlaySound)

Sets whether the SDK will play TTS instructions automatically.

Parameters

  • IN canPlaySound True to enable automatic TTS playback, false otherwise.

Implementation

static set canPlaySounds(bool canPlaySound) {
  staticMethod('SoundService', 'setCanPlaySounds', args: canPlaySound);
}