Interface AudioMetadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AudioMetadata.Builder,AudioMetadata>, SdkBuilder<AudioMetadata.Builder,AudioMetadata>, SdkPojo
Enclosing class:
AudioMetadata

public static interface AudioMetadata.Builder extends SdkPojo, CopyableBuilder<AudioMetadata.Builder,AudioMetadata>
  • Method Details

    • codec

      The audio codec used to encode or decode the audio stream.

      Parameters:
      codec - The audio codec used to encode or decode the audio stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationMillis

      AudioMetadata.Builder durationMillis(Long durationMillis)

      The duration of the audio stream in milliseconds.

      Parameters:
      durationMillis - The duration of the audio stream in milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampleRate

      AudioMetadata.Builder sampleRate(Long sampleRate)

      The sample rate for the audio stream.

      Parameters:
      sampleRate - The sample rate for the audio stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberOfChannels

      AudioMetadata.Builder numberOfChannels(Long numberOfChannels)

      The number of audio channels in the segment.

      Parameters:
      numberOfChannels - The number of audio channels in the segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.