public final class TrackSelections<T> extends Object
TrackSelector
operation.Modifier and Type | Field and Description |
---|---|
T |
info
Opaque information associated with the result.
|
int |
length
The number of selections in the result.
|
Constructor and Description |
---|
TrackSelections(T info,
TrackSelection... trackSelections) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TrackSelection |
get(int index)
Returns the selection at a given index.
|
TrackSelection[] |
getAll()
Returns the selections in a newly allocated array.
|
int |
hashCode() |
public final T info
public final int length
public TrackSelections(T info, TrackSelection... trackSelections)
info
- Opaque information associated with the result.trackSelections
- The selections. Must not be null, but may contain null elements.public TrackSelection get(int index)
index
- The index of the selection.public TrackSelection[] getAll()