Class InputAudioFormat

java.lang.Object
com.azure.core.util.ExpandableStringEnum<InputAudioFormat>
com.azure.ai.openai.models.InputAudioFormat
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class InputAudioFormat extends com.azure.core.util.ExpandableStringEnum<InputAudioFormat>
Values to describe the format of the input audio data.
  • Field Details

    • WAV

      public static final InputAudioFormat WAV
      Specifies that the audio data is in the WAV format.
    • MP3

      public static final InputAudioFormat MP3
      Specifies that the audio data is in the MP3 format.
  • Constructor Details

    • InputAudioFormat

      @Deprecated public InputAudioFormat()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of InputAudioFormat value.
  • Method Details

    • fromString

      public static InputAudioFormat fromString(String name)
      Creates or finds a InputAudioFormat from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding InputAudioFormat.
    • values

      public static Collection<InputAudioFormat> values()
      Gets known InputAudioFormat values.
      Returns:
      known InputAudioFormat values.