Audio Manager
open class AudioManager : NativeMethodsReceiver, SygicContext.OnContextDestroyListener
Content copied to clipboard
Manages the playback of audio output from files or TTS
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
open fun addPlayStatusListener(listener: AudioManager.PlayStatusListener)
Content copied to clipboard
open fun addPlayStatusListener(listener: AudioManager.PlayStatusListener, @Nullable executor: Executor)
Content copied to clipboard
Adds a PlayStatus listener
Link copied to clipboard
Removes all output from the audio queue.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Plays audio output.
Link copied to clipboard
open fun redirectPCMDataOutput(callback: AudioManager.PCMDataOutputCallback)
Content copied to clipboard
Redirect the PCM data output to PCMDataOutputCallback Setting callback to null will reset audio output to normal
Link copied to clipboard
Redirect the TTS text to TTSOutputCallback Setting callback to null will reset audio output to normal
Link copied to clipboard
open fun removePlayStatusListener(listener: AudioManager.PlayStatusListener)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Skips the output at the front of the queue
Link copied to clipboard
Stops playing the current output immediately and clears any queued output