@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 segment.
|
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 final String codec()
The audio codec used to encode or decode the audio stream.
public final Long durationMillis()
The duration of the audio stream in milliseconds.
public final Long sampleRate()
The sample rate for the audio stream.
public final Long numberOfChannels()
The number of audio channels in the segment.
public AudioMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AudioMetadata.Builder,AudioMetadata>public static AudioMetadata.Builder builder()
public static Class<? extends AudioMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.