SpeechSynthesizerResponse.Status

enum SpeechSynthesizerResponse.Status : Enum


Lifecycle status of the speech synthesis request.

Summary

Enum Values

DONE

Indicates that speech synthesis has completed successfully.

START

Indicates that speech synthesis has started.

STOP

Indicates that speech synthesis has stopped (e.g., due to interruption).

Public functions

SpeechSynthesizerResponse.Status
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<SpeechSynthesizerResponse.Status>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

EnumEntries<SpeechSynthesizerResponse.Status>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Enum Values

DONE

val SpeechSynthesizerResponse.Status.DONE: SpeechSynthesizerResponse.Status

Indicates that speech synthesis has completed successfully.

START

val SpeechSynthesizerResponse.Status.START: SpeechSynthesizerResponse.Status

Indicates that speech synthesis has started.

STOP

val SpeechSynthesizerResponse.Status.STOP: SpeechSynthesizerResponse.Status

Indicates that speech synthesis has stopped (e.g., due to interruption).

Public functions

valueOf

fun valueOf(value: String): SpeechSynthesizerResponse.Status

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<SpeechSynthesizerResponse.Status>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

entries

val entries: EnumEntries<SpeechSynthesizerResponse.Status>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.