DefaultPreloadManager.Status


class DefaultPreloadManager.Status : TargetPreloadStatusControl.PreloadStatus


An implementation of TargetPreloadStatusControl.PreloadStatus that describes the preload status of the PreloadMediaSource.

Summary

Nested types

@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = TYPE_USE)
@IntDef(value = )
annotation DefaultPreloadManager.Status.Stage

Stages that for the preload status.

Constants

const Int

The PreloadMediaSource is loaded to a specific position in microseconds.

const Int

The PreloadMediaSource is prepared.

const Int

The PreloadMediaSource has its Timeline refreshed.

Constants

STAGE_LOADED_TO_POSITION_MS

const val STAGE_LOADED_TO_POSITION_MS = 2: Int

The PreloadMediaSource is loaded to a specific position in microseconds.

STAGE_SOURCE_PREPARED

const val STAGE_SOURCE_PREPARED = 1: Int

The PreloadMediaSource is prepared.

STAGE_TIMELINE_REFRESHED

const val STAGE_TIMELINE_REFRESHED = 0: Int

The PreloadMediaSource has its Timeline refreshed.

Public constructors

Status

Status(@DefaultPreloadManager.Status.Stage stage: Int, value: Long)

Public properties

value

val valueLong