Interface AddAudioOptions.ContainedContentType
- Enclosing class:
- AddAudioOptions
public static interface AddAudioOptions.ContainedContentType
**For an archive-type resource,** specify the format of the audio files that are contained in
the archive file if they are of type `audio/alaw`, `audio/basic`, `audio/l16`, or
`audio/mulaw`. Include the `rate`, `channels`, and `endianness` parameters where necessary. In
this case, all audio files that are contained in the archive file must be of the indicated
type.
For all other audio formats, you can omit the header. In this case, the audio files can be of multiple types as long as they are not of the types listed in the previous paragraph.
The parameter accepts all of the audio formats that are supported for use with speech recognition. For more information, see **Content types for audio-type resources** in the method description.
**For an audio-type resource,** omit the header.
-
Field Summary
Fields Modifier and Type Field Description static String
AUDIO_ALAW
audio/alaw.static String
AUDIO_BASIC
audio/basic.static String
AUDIO_FLAC
audio/flac.static String
AUDIO_G729
audio/g729.static String
AUDIO_L16
audio/l16.static String
AUDIO_MP3
audio/mp3.static String
AUDIO_MPEG
audio/mpeg.static String
AUDIO_MULAW
audio/mulaw.static String
AUDIO_OGG
audio/ogg.static String
AUDIO_OGG_CODECS_OPUS
audio/ogg;codecs=opus.static String
AUDIO_OGG_CODECS_VORBIS
audio/ogg;codecs=vorbis.static String
AUDIO_WAV
audio/wav.static String
AUDIO_WEBM
audio/webm.static String
AUDIO_WEBM_CODECS_OPUS
audio/webm;codecs=opus.static String
AUDIO_WEBM_CODECS_VORBIS
audio/webm;codecs=vorbis.
-
Field Details
-
AUDIO_ALAW
audio/alaw.- See Also:
- Constant Field Values
-
AUDIO_BASIC
audio/basic.- See Also:
- Constant Field Values
-
AUDIO_FLAC
audio/flac.- See Also:
- Constant Field Values
-
AUDIO_G729
audio/g729.- See Also:
- Constant Field Values
-
AUDIO_L16
audio/l16.- See Also:
- Constant Field Values
-
AUDIO_MP3
audio/mp3.- See Also:
- Constant Field Values
-
AUDIO_MPEG
audio/mpeg.- See Also:
- Constant Field Values
-
AUDIO_MULAW
audio/mulaw.- See Also:
- Constant Field Values
-
AUDIO_OGG
audio/ogg.- See Also:
- Constant Field Values
-
AUDIO_OGG_CODECS_OPUS
audio/ogg;codecs=opus.- See Also:
- Constant Field Values
-
AUDIO_OGG_CODECS_VORBIS
audio/ogg;codecs=vorbis.- See Also:
- Constant Field Values
-
AUDIO_WAV
audio/wav.- See Also:
- Constant Field Values
-
AUDIO_WEBM
audio/webm.- See Also:
- Constant Field Values
-
AUDIO_WEBM_CODECS_OPUS
audio/webm;codecs=opus.- See Also:
- Constant Field Values
-
AUDIO_WEBM_CODECS_VORBIS
audio/webm;codecs=vorbis.- See Also:
- Constant Field Values
-