public static interface AddAudioOptions.ContainedContentType
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.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUDIO_ALAW
audio/alaw.
|
static java.lang.String |
AUDIO_BASIC
audio/basic.
|
static java.lang.String |
AUDIO_FLAC
audio/flac.
|
static java.lang.String |
AUDIO_G729
audio/g729.
|
static java.lang.String |
AUDIO_L16
audio/l16.
|
static java.lang.String |
AUDIO_MP3
audio/mp3.
|
static java.lang.String |
AUDIO_MPEG
audio/mpeg.
|
static java.lang.String |
AUDIO_MULAW
audio/mulaw.
|
static java.lang.String |
AUDIO_OGG
audio/ogg.
|
static java.lang.String |
AUDIO_OGG_CODECS_OPUS
audio/ogg;codecs=opus.
|
static java.lang.String |
AUDIO_OGG_CODECS_VORBIS
audio/ogg;codecs=vorbis.
|
static java.lang.String |
AUDIO_WAV
audio/wav.
|
static java.lang.String |
AUDIO_WEBM
audio/webm.
|
static java.lang.String |
AUDIO_WEBM_CODECS_OPUS
audio/webm;codecs=opus.
|
static java.lang.String |
AUDIO_WEBM_CODECS_VORBIS
audio/webm;codecs=vorbis.
|
static final java.lang.String AUDIO_ALAW
static final java.lang.String AUDIO_BASIC
static final java.lang.String AUDIO_FLAC
static final java.lang.String AUDIO_G729
static final java.lang.String AUDIO_L16
static final java.lang.String AUDIO_MP3
static final java.lang.String AUDIO_MPEG
static final java.lang.String AUDIO_MULAW
static final java.lang.String AUDIO_OGG
static final java.lang.String AUDIO_OGG_CODECS_OPUS
static final java.lang.String AUDIO_OGG_CODECS_VORBIS
static final java.lang.String AUDIO_WAV
static final java.lang.String AUDIO_WEBM
static final java.lang.String AUDIO_WEBM_CODECS_OPUS
static final java.lang.String AUDIO_WEBM_CODECS_VORBIS