SpeechSynthesizerRequest.QueueMode

@IntDef(value = [0, 1])
@Retention(value = AnnotationRetention.BINARY)
annotation SpeechSynthesizerRequest.QueueMode


The queue mode annotation.

Summary

Constants

const Int

Queue mode where new utterances are added to the end of the playback queue.

const Int

Queue mode where the playback queue is flushed and any ongoing utterance is stopped.

Public constructors

Constants

QUEUE_ADD

const val QUEUE_ADD = 0: Int

Queue mode where new utterances are added to the end of the playback queue.

QUEUE_FLUSH

const val QUEUE_FLUSH = 1: Int

Queue mode where the playback queue is flushed and any ongoing utterance is stopped.

Public constructors

QueueMode

QueueMode()