Class TrackSelectionOverrides.TrackSelectionOverride

    • Constructor Detail

      • TrackSelectionOverride

        public TrackSelectionOverride​(TrackGroup trackGroup)
        Constructs an instance to force all tracks in trackGroup to be selected.
      • TrackSelectionOverride

        public TrackSelectionOverride​(TrackGroup trackGroup,
                                      List<Integer> trackIndices)
        Constructs an instance to force trackIndices in trackGroup to be selected.
        trackGroup - The TrackGroup for which to override the track selection.
        trackIndices - The indices of the tracks in the TrackGroup to select.
    • Method Detail

      • equals

        public boolean equals​(@Nullable
                              Object obj)
        equals in class Object
      • hashCode

        public int hashCode()
        hashCode in class Object
      • getTrackType

        public int getTrackType()
        Returns the C.TrackType of the overriden track group.
      • toBundle

        public Bundle toBundle()
        Description copied from interface: Bundleable
        Returns a Bundle representing the information stored in this object.
        Specified by:
        toBundle in interface Bundleable