Package com.castlabs.android.player

# Class TrackIndexOverride

java.lang.Object
com.castlabs.android.player.TrackIndexOverride

public class TrackIndexOverride extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final int`
  `trackGroupIndex`
  `final int`
  `trackIndex`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TrackIndexOverride(int trackGroupIndex, int trackIndex)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isValid(com.google.android.exoplayer2.source.TrackGroupArray trackGroups)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### trackGroupIndex

    public final int trackGroupIndex

  - ### trackIndex

    public final int trackIndex

- ## Constructor Details

  - ### TrackIndexOverride

    public TrackIndexOverride(int trackGroupIndex, int trackIndex)

- ## Method Details

  - ### isValid

    public boolean isValid(@NonNull com.google.android.exoplayer2.source.TrackGroupArray trackGroups)