public static final class FixedTrackSelection.Factory extends java.lang.Object implements TrackSelection.Factory
FixedTrackSelection instances.| Constructor and Description |
|---|
Factory() |
Factory(int reason,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
FixedTrackSelection |
createTrackSelection(TrackGroup group,
int... tracks)
Creates a new selection.
|
public Factory()
public Factory(int reason,
@Nullable
java.lang.Object data)
reason - A reason for the track selection.data - Optional data associated with the track selection.public FixedTrackSelection createTrackSelection(TrackGroup group, int... tracks)
TrackSelection.FactorycreateTrackSelection in interface TrackSelection.Factorygroup - The TrackGroup. Must not be null.tracks - The indices of the selected tracks within the TrackGroup. Must not be
null or empty. May be in any order.