canPlaySounds property

bool get canPlaySounds

Gets the SDK to automatically 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', 'getCanPlaySounds');
  return result['result'];
}
set canPlaySounds (bool canPlaySound)

Sets the SDK to automatically play TTS instructions automatically.

Returns

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

Implementation

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