Enum SynthesisVoiceStatus
- java.lang.Object
-
- java.lang.Enum<SynthesisVoiceStatus>
-
- com.microsoft.cognitiveservices.speech.SynthesisVoiceStatus
-
- All Implemented Interfaces:
Serializable,Comparable<SynthesisVoiceStatus>
public enum SynthesisVoiceStatus extends Enum<SynthesisVoiceStatus>
Defines the status of synthesis voice.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DeprecatedVoice is deprecated, do not use.GeneralAvailabilityVoice is generally available.PreviewVoice is in preview.UnknownVoice status unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SynthesisVoiceStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static SynthesisVoiceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final SynthesisVoiceStatus Unknown
Voice status unknown.
-
GeneralAvailability
public static final SynthesisVoiceStatus GeneralAvailability
Voice is generally available.
-
Preview
public static final SynthesisVoiceStatus Preview
Voice is in preview.
-
Deprecated
public static final SynthesisVoiceStatus Deprecated
Voice is deprecated, do not use.
-
-
Method Detail
-
values
public static SynthesisVoiceStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SynthesisVoiceStatus c : SynthesisVoiceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SynthesisVoiceStatus valueOf(String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-