Class CueGroup
- java.lang.Object
-
- com.google.android.exoplayer2.text.CueGroup
-
- All Implemented Interfaces:
Bundleable
public final class CueGroup extends Object implements Bundleable
Class to represent the state of activeCuesat 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>CREATORImmutableList<Cue>cuesThe cues in this group.static CueGroupEMPTYEmptyCueGroup.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BundletoBundle()Returns aBundlerepresenting the information stored in this object.
-
-
-
Field Detail
-
cues
public final ImmutableList<Cue> cues
The cues in this group.This list is in ascending order of priority. If any of the cue boxes overlap when displayed, the
Cuenearer the end of the list should be shown on top.This list may be empty if the group represents a state with no cues.
-
CREATOR
public static final Bundleable.Creator<CueGroup> CREATOR
-
-
Method Detail
-
toBundle
public Bundle toBundle()
Description copied from interface:BundleableReturns aBundlerepresenting the information stored in this object.- Specified by:
toBundlein interfaceBundleable
-
-