SpeechSynthesizerRequest

data class SpeechSynthesizerRequest


Represents a request to synthesize speech using SpeechSynthesizer.

Summary

Nested types

The input to be synthesized.

An earcon input containing the name of the earcon to play.

A speech input containing the text string mapped to a pre-recorded audio file.

A text input containing the raw string to be synthesized.

The queue mode annotation.

Public constructors

Public constructors

SpeechSynthesizerRequest

SpeechSynthesizerRequest(
    input: SpeechSynthesizerRequest.Input,
    audioAttributes: AudioAttributes,
    @SpeechSynthesizerRequest.QueueMode queueMode: Int = QueueMode.QUEUE_ADD
)

Public properties

audioAttributes

val audioAttributes: AudioAttributes

queueMode

val queueMode: Int