Class Chunk

    • Field Detail

      • loadTaskId

        public final long loadTaskId
        Deprecated.
        Identifies the load task for this loadable.
      • dataSpec

        public final DataSpec dataSpec
        Deprecated.
        The DataSpec that defines the data to be loaded.
      • type

        public final @com.google.android.exoplayer2.C.DataType int type
        Deprecated.
        The data type of the chunk. For reporting only.
      • trackFormat

        public final Format trackFormat
        Deprecated.
        The format of the track to which this chunk belongs.
      • trackSelectionReason

        public final @com.google.android.exoplayer2.C.SelectionReason int trackSelectionReason
        Deprecated.
        One of the selection reasons if the chunk belongs to a track. C.SELECTION_REASON_UNKNOWN if the chunk does not belong to a track, or if the selection reason is unknown.
      • trackSelectionData

        @Nullable
        public final Object trackSelectionData
        Deprecated.
        Optional data associated with the selection of the track to which this chunk belongs. Null if the chunk does not belong to a track, or if there is no associated track selection data.
      • startTimeUs

        public final long startTimeUs
        Deprecated.
        The start time of the media contained by the chunk, or C.TIME_UNSET if the data being loaded does not contain media samples.
      • endTimeUs

        public final long endTimeUs
        Deprecated.
        The end time of the media contained by the chunk, or C.TIME_UNSET if the data being loaded does not contain media samples.
    • Constructor Detail

      • Chunk

        public Chunk​(DataSource dataSource,
                     DataSpec dataSpec,
                     @com.google.android.exoplayer2.C.DataType int type,
                     Format trackFormat,
                     @com.google.android.exoplayer2.C.SelectionReason int trackSelectionReason,
                     @Nullable
                     Object trackSelectionData,
                     long startTimeUs,
                     long endTimeUs)
        Deprecated.
        Parameters:
        dataSource - The source from which the data should be loaded.
        dataSpec - Defines the data to be loaded.
        type - See type.
        trackFormat - See trackFormat.
        trackSelectionReason - See trackSelectionReason.
        trackSelectionData - See trackSelectionData.
        startTimeUs - See startTimeUs.
        endTimeUs - See endTimeUs.