AudioTaskLabel Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. openai. models. AudioTaskLabel
- com.
- com.
public final class AudioTaskLabel
extends ExpandableStringEnum<AudioTaskLabel>
Defines the possible descriptors for available audio operation responses.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Audio |
TRANSCRIBE
Accompanying response data resulted from an audio transcription task. |
|
static final
Audio |
TRANSLATE
Accompanying response data resulted from an audio translation task. |
Constructor Summary
| Constructor | Description |
|---|---|
| AudioTaskLabel() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Audio |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Audio |
fromString(String name)
Creates or finds a Audio |
|
static
Collection<Audio |
values()
Gets known Audio |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
TRANSCRIBE
public static final AudioTaskLabel TRANSCRIBE
Accompanying response data resulted from an audio transcription task.
TRANSLATE
public static final AudioTaskLabel TRANSLATE
Accompanying response data resulted from an audio translation task.
Constructor Details
AudioTaskLabel
@Deprecated
public AudioTaskLabel()
Deprecated
Creates a new instance of AudioTaskLabel value.
Method Details
fromString
public static AudioTaskLabel fromString(String name)
Creates or finds a AudioTaskLabel from its string representation.
Parameters:
Returns:
values
public static Collection<AudioTaskLabel> values()
Gets known AudioTaskLabel values.
Returns: