TrackSelectionArray


@UnstableApi
class TrackSelectionArray


An array of TrackSelections.

Summary

Public constructors

Public functions

Boolean
equals(obj: Any?)
TrackSelection?
get(index: Int)

Returns the selection at a given index.

Array<@NullableType TrackSelection!>!

Returns the selections in a newly allocated array.

Int

Public properties

Int

The length of this array.

Public constructors

TrackSelectionArray

TrackSelectionArray(
    @NullableType trackSelections: Array<@NullableType TrackSelection!>!
)
Parameters
@NullableType trackSelections: Array<@NullableType TrackSelection!>!

The selections. Must not be null, but may contain null elements.

Public functions

equals

fun equals(obj: Any?): Boolean

get

fun get(index: Int): TrackSelection?

Returns the selection at a given index.

Parameters
index: Int

The index of the selection.

Returns
TrackSelection?

The selection.

getAll

@NullableType
fun getAll(): Array<@NullableType TrackSelection!>!

Returns the selections in a newly allocated array.

hashCode

fun hashCode(): Int

Public properties

length

val lengthInt

The length of this array.