onLoadCompleted
abstract fun onLoadCompleted(trackType: Int, bytesLoaded: Long, dataType: Int, reason: Int, format: Format, mediaStartTimeMs: Long, mediaEndTimeMs: Long, elapsedRealtimeMs: Long, loadDurationMs: Long)
Called when load has completed.
Parameters
trackType
One of the CTRACK_TYPE_*
constants.
bytesLoaded
The number of bytes that were loaded up to the event time.
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.
elapsedRealtimeMs
The value of elapsedRealtime at the time of the load event.
loadDurationMs
The duration of the load up to the event time.