Skip to content

How to use android queue mode聽#211

Closed

Description

@4-alok

馃挰 Questions and Help

Please give an example, how does setQueueMode(queueMode) work

Activity

  1. dlutton commented on Mar 15, 2021

    @dlutton
    Owner

    @4-alok you'd set it to 1 or 0.

    https://developer.android.com/reference/android/speech/tts/TextToSpeech#QUEUE_ADD

    Queue mode where the new entry is added at the end of the playback queue.
    
    Constant Value: 1 (0x00000001)
    

    https://developer.android.com/reference/android/speech/tts/TextToSpeech#QUEUE_FLUSH

    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. Entries in the queue from other callees are not discarded.
    
    Constant Value: 0 (0x00000000)
    
  2. self-assigned this
    on Mar 15, 2021
  3. Repository owner locked and limited conversation to collaborators on Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions