SoundPlayingService class abstract Core

Sound service class used to play text-to-speech.

Constructors

SoundPlayingService.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

audioOutput AudioOutput
Get audio output type.
getter/setter pair
callTimingDelay int
Get call timing delay in ms.
getter/setter pair
canPlaySounds bool
Gets whether the SDK will play TTS instructions automatically.
getter/setter pair
soundPlayingListener SoundPlayingListener
Get the sound playing listener.
no setter
voiceVolume int
Get voice volume.
getter/setter pair
warningsVolume int
Get warnings volume.
getter/setter pair

Static Methods

cancelNavigationSoundsPlaying() → void
Cancel playing navigation sounds.
playSound(dynamic soundId) → void
Play sound.
playText(String text, {AlertSeverity severity = AlertSeverity.information}) → void
Play TTS text.