VoiceInfo.Gender

public enum VoiceInfo.Gender extends Enum


The gender of a voice.

Summary

Enum Values

FEMALE
MALE
UNKNOWN

Public methods

final @NonNull EnumEntries<@NonNull VoiceInfo.Gender>

The gender of a voice.

final @NonNull VoiceInfo.Gender

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

final @NonNull VoiceInfo.Gender[]

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

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull VoiceInfo.Gender> getEntries()

The gender of a voice.

valueOf

public final @NonNull VoiceInfo.Gender 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 VoiceInfo.Gender[] 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.