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, 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.Factory
createTrackSelection
in interface TrackSelection.Factory
group
- 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.