共用方式為


QueueMode Enum

Definition

Enumerates values returned by the Add, and Flush members and taken as a parameter of several methods of TextToSpeech.

public enum QueueMode
type QueueMode = 
Inheritance
QueueMode

Fields

Name Value Description
Flush 0

Queue mode where all entries in the playback queue (media to be played and text to be synthesized) are dropped and replaced by the new entry. Queues are flushed with respect to a given calling app.

Add 1

Queue mode where the new entry is added at the end of the playback queue.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to