Interface AudioSourceDetails.Builder

  • Method Details

    • mediaId

      Unique identifier for the audio media file.

      Parameters:
      mediaId - Unique identifier for the audio media file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediaMimeType

      AudioSourceDetails.Builder mediaMimeType(String mediaMimeType)

      The MIME type of the audio file (e.g., audio/mp3, audio/wav).

      Parameters:
      mediaMimeType - The MIME type of the audio file (e.g., audio/mp3, audio/wav).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimeMilliseconds

      AudioSourceDetails.Builder startTimeMilliseconds(Long startTimeMilliseconds)

      The starting timestamp in milliseconds for the relevant audio segment.

      Parameters:
      startTimeMilliseconds - The starting timestamp in milliseconds for the relevant audio segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTimeMilliseconds

      AudioSourceDetails.Builder endTimeMilliseconds(Long endTimeMilliseconds)

      The ending timestamp in milliseconds for the relevant audio segment.

      Parameters:
      endTimeMilliseconds - The ending timestamp in milliseconds for the relevant audio segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioExtractionType

      AudioSourceDetails.Builder audioExtractionType(String audioExtractionType)

      The type of audio extraction performed on the content.

      Parameters:
      audioExtractionType - The type of audio extraction performed on the content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • audioExtractionType

      AudioSourceDetails.Builder audioExtractionType(AudioExtractionType audioExtractionType)

      The type of audio extraction performed on the content.

      Parameters:
      audioExtractionType - The type of audio extraction performed on the content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: