Interface Track.Builder

    • Method Detail

      • audioProperties

        Track.Builder audioProperties​(AudioProperties audioProperties)
        Details about the media file's audio track.
        Parameters:
        audioProperties - Details about the media file's audio track.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • codec

        Track.Builder codec​(String codec)
        The codec of the audio or video track, or caption format of the data track.
        Parameters:
        codec - The codec of the audio or video track, or caption format of the data track.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Codec, Codec
      • codec

        Track.Builder codec​(Codec codec)
        The codec of the audio or video track, or caption format of the data track.
        Parameters:
        codec - The codec of the audio or video track, or caption format of the data track.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Codec, Codec
      • dataProperties

        Track.Builder dataProperties​(DataProperties dataProperties)
        Details about the media file's data track.
        Parameters:
        dataProperties - Details about the media file's data track.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • duration

        Track.Builder duration​(Double duration)
        The duration of the track, in seconds.
        Parameters:
        duration - The duration of the track, in seconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • index

        Track.Builder index​(Integer index)
        The unique index number of the track, starting at 1.
        Parameters:
        index - The unique index number of the track, starting at 1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trackType

        Track.Builder trackType​(String trackType)
        The type of track: video, audio, or data.
        Parameters:
        trackType - The type of track: video, audio, or data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrackType, TrackType
      • trackType

        Track.Builder trackType​(TrackType trackType)
        The type of track: video, audio, or data.
        Parameters:
        trackType - The type of track: video, audio, or data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrackType, TrackType
      • videoProperties

        Track.Builder videoProperties​(VideoProperties videoProperties)
        Details about the media file's video track.
        Parameters:
        videoProperties - Details about the media file's video track.
        Returns:
        Returns a reference to this object so that method calls can be chained together.