canPlaySounds property
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'];
}
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);
}