Class HlsDateRange
java.lang.Object
com.castlabs.android.player.models.hls.HlsDateRange
Represents a date range in an HLS playlist.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
-
startTimeUs
public final long startTimeUs -
className
-
cue
-
endTimeUs
-
durationSec
-
plannedDuration
-
scte35cmd
-
scte35in
-
scte35out
-
clientAttributes
-
-
Constructor Details
-
HlsDateRange
public HlsDateRange(@NonNull String id, long startTimeUs, @Nullable String className, @Nullable String cue, @Nullable Long endTimeUs, @Nullable Float durationSec, @Nullable Float plannedDuration, @Nullable String scte35cmd, @Nullable String scte35in, @Nullable String scte35out, @NonNull Map<String, String> clientAttributes) Creates a new instance.- Parameters:
id
- The ID of the date range.startTimeUs
- The start time of the date range in microseconds since the epoch.className
- The class name of the date range.cue
- The cue of the date range.endTimeUs
- The end time of the date range in microseconds since the epoch.durationSec
- The duration of the date range in seconds.plannedDuration
- The planned duration of the date range in seconds.scte35cmd
- The SCTE35-CMD data of the date range.scte35in
- The SCTE35-IN data of the date range.scte35out
- The SCTE35-OUT data of the date range.clientAttributes
- The client attributes of the date range.
-