SpeechSynthesizerResponse.Status

public enum SpeechSynthesizerResponse.Status extends 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 methods

final @NonNull EnumEntries<@NonNull SpeechSynthesizerResponse.Status>

Lifecycle status of the speech synthesis request.

final @NonNull SpeechSynthesizerResponse.Status

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

final @NonNull SpeechSynthesizerResponse.Status[]

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

Enum Values

DONE

SpeechSynthesizerResponse.Status SpeechSynthesizerResponse.Status.DONE

Indicates that speech synthesis has completed successfully.

START

SpeechSynthesizerResponse.Status SpeechSynthesizerResponse.Status.START

Indicates that speech synthesis has started.

STOP

SpeechSynthesizerResponse.Status SpeechSynthesizerResponse.Status.STOP

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

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull SpeechSynthesizerResponse.Status> getEntries()

Lifecycle status of the speech synthesis request.

valueOf

public final @NonNull SpeechSynthesizerResponse.Status valueOf(@NonNull String value)

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

public final @NonNull SpeechSynthesizerResponse.Status[] values()

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.