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 | Method and Description |
---|---|
String |
getCodec()
Gets the codec.
|
String |
getCompression()
Gets the compression.
|
Long |
getFrequency()
Gets the frequency.
|
String |
getType()
Gets the type.
|
public 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 String getCodec()
_For an audio-type resource_, the codec in which the audio is encoded. Omitted for an archive-type resource.
public 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 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.
Copyright © 2024 IBM Cloud. All rights reserved.