public class AudioDetails
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
AudioDetails.Compression
**For an archive-type resource,** the format of the compressed archive: * `zip` for a **.zip**
file * `gzip` for a **.tar.gz** file
|
static interface |
AudioDetails.Type
The type of the audio resource: * `audio` for an individual audio file * `archive` for an
archive (**.zip** or **.tar.gz**) file that contains audio files * `undetermined` for a
resource that the service cannot validate (for example, if the user mistakenly passes a file
that does not contain audio, such as a JPEG file).
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
codec |
protected java.lang.String |
compression |
protected java.lang.Long |
frequency |
protected java.lang.String |
type |
Constructor and Description |
---|
AudioDetails() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCodec()
Gets the codec.
|
java.lang.String |
getCompression()
Gets the compression.
|
java.lang.Long |
getFrequency()
Gets the frequency.
|
java.lang.String |
getType()
Gets the type.
|
protected java.lang.String type
protected java.lang.String codec
protected java.lang.Long frequency
protected java.lang.String compression
public java.lang.String getType()
The type of the audio resource: * `audio` for an individual audio file * `archive` for an archive (**.zip** or **.tar.gz**) file that contains audio files * `undetermined` for a resource that the service cannot validate (for example, if the user mistakenly passes a file that does not contain audio, such as a JPEG file).
public java.lang.String getCodec()
**For an audio-type resource,** the codec in which the audio is encoded. Omitted for an archive-type resource.
public java.lang.Long getFrequency()
**For an audio-type resource,** the sampling rate of the audio in Hertz (samples per second). Omitted for an archive-type resource.
public java.lang.String getCompression()
**For an archive-type resource,** the format of the compressed archive: * `zip` for a **.zip** file * `gzip` for a **.tar.gz** file
Omitted for an audio-type resource.