onLoadStarted

abstract fun onLoadStarted(trackType: Int, dataType: Int, reason: Int, format: Format, mediaStartTimeMs: Long, mediaEndTimeMs: Long)

Called when a load is started.

Parameters

trackType

One of the CTRACK_TYPE_* constants.

dataType

One of the CDATA_TYPE_* constants.

reason

One of the CSELECTION_REASON_* constants.

format

the Format retrieved from ExoPlayer.

mediaStartTimeMs

The start time of the media, or TIME_UNSET if the data does not belong to a specific media period.

mediaEndTimeMs

The end time of the media, or TIME_UNSET if the data does not belong to a specific media period or the end time is unknown.