@Generated(value="software.amazon.awssdk:codegen") public final class AudioMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AudioMetadata.Builder,AudioMetadata>
Metadata information about an audio stream. An array of AudioMetadata objects for the audio streams
found in a stored video is returned by GetSegmentDetection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AudioMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AudioMetadata.Builder |
builder() |
String |
codec()
The audio codec used to encode or decode the audio stream.
|
Long |
durationMillis()
The duration of the audio stream in milliseconds.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
numberOfChannels()
The number of audio channels in the segement.
|
Long |
sampleRate()
The sample rate for the audio stream.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AudioMetadata.Builder> |
serializableBuilderClass() |
AudioMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String codec()
The audio codec used to encode or decode the audio stream.
public Long durationMillis()
The duration of the audio stream in milliseconds.
public Long sampleRate()
The sample rate for the audio stream.
public Long numberOfChannels()
The number of audio channels in the segement.
public AudioMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AudioMetadata.Builder,AudioMetadata>public static AudioMetadata.Builder builder()
public static Class<? extends AudioMetadata.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.