SpeechSynthesizerRequest.QueueMode

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


The queue mode annotation.

Summary

Constants

static final int

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

static final int

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

Public constructors

Constants

QUEUE_ADD

public static final int QUEUE_ADD = 0

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

QUEUE_FLUSH

public static final int QUEUE_FLUSH = 1

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

Public constructors

QueueMode

public QueueMode()