Class CueGroup
- java.lang.Object
-
- com.google.android.exoplayer2.text.CueGroup
-
- All Implemented Interfaces:
Bundleable
@Deprecated public final class CueGroup extends Object implements Bundleable
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Class to represent the state of activeCues
at a particular time.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.android.exoplayer2.Bundleable
Bundleable.Creator<T extends Bundleable>
-
-
Field Summary
Fields Modifier and Type Field Description static Bundleable.Creator<CueGroup>
CREATOR
Deprecated.ImmutableList<Cue>
cues
Deprecated.The cues in this group.static CueGroup
EMPTY_TIME_ZERO
Deprecated.An empty group with noCues
and presentation time of zero.long
presentationTimeUs
Deprecated.The presentation time of thecues
, in microseconds.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Bundle
toBundle()
Deprecated.Returns aBundle
representing the information stored in this object.
-
-
-
Field Detail
-
EMPTY_TIME_ZERO
public static final CueGroup EMPTY_TIME_ZERO
Deprecated.An empty group with noCues
and presentation time of zero.
-
cues
public final ImmutableList<Cue> cues
Deprecated.The cues in this group.This list is in ascending order of priority. If any of the cue boxes overlap when displayed, the
Cue
nearer the end of the list should be shown on top.This list may be empty if the group represents a state with no cues.
-
presentationTimeUs
public final long presentationTimeUs
Deprecated.The presentation time of thecues
, in microseconds.This time is an offset from the start of the current
Timeline.Period
.
-
CREATOR
public static final Bundleable.Creator<CueGroup> CREATOR
Deprecated.
-
-
Method Detail
-
toBundle
public Bundle toBundle()
Deprecated.Description copied from interface:Bundleable
Returns aBundle
representing the information stored in this object.- Specified by:
toBundle
in interfaceBundleable
-
-