ExoTrackSelection.Definition


public final class ExoTrackSelection.Definition


Contains of a subset of selected tracks belonging to a TrackGroup.

Summary

Public fields

final TrackGroup

The TrackGroup which tracks belong to.

final int[]

The indices of the selected tracks in group.

final int

The type that will be returned from getType.

Public constructors

Definition(TrackGroup group, int[] tracks)
Definition(TrackGroup group, int[] tracks, @TrackSelection.Type int type)

Public fields

group

public final TrackGroup group

The TrackGroup which tracks belong to.

tracks

public final int[] tracks

The indices of the selected tracks in group.

type

@TrackSelection.Type
public final int type

The type that will be returned from getType.

Public constructors

Definition

public Definition(TrackGroup group, int[] tracks)
Parameters
TrackGroup group

The TrackGroup. Must not be null.

int[] tracks

The indices of the selected tracks within the TrackGroup. Must not be null or empty. May be in any order.

Definition

public Definition(TrackGroup group, int[] tracks, @TrackSelection.Type int type)
Parameters
TrackGroup group

The TrackGroup. Must not be null.

int[] tracks

The indices of the selected tracks within the TrackGroup. Must not be null or empty. May be in any order.

@TrackSelection.Type int type

The type that will be returned from getType.