PlayAudioOptions

data class PlayAudioOptions(val speechRate: Float? = null, val interrupt: Boolean = true)

Constructors

Link copied to clipboard
constructor(speechRate: Float? = null, interrupt: Boolean = true)

Properties

Link copied to clipboard

If true, interrupt any in-progress playback where possible.

Link copied to clipboard

TTS speech rate multiplier (only meaningful for AudioSource.Tts).