public class

DefaultPreloadManager.Status

extends java.lang.Object

implements TargetPreloadStatusControl.PreloadStatus

 java.lang.Object

↳androidx.media3.exoplayer.source.preload.DefaultPreloadManager.Status

Overview

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

Summary

Fields
public static final intSTAGE_LOADED_TO_POSITION_MS

The PreloadMediaSource is loaded to a specific position in microseconds.

public static final intSTAGE_SOURCE_PREPARED

The PreloadMediaSource has completed preparation.

public static final intSTAGE_TRACKS_SELECTED

The PreloadMediaSource has tracks selected.

Constructors
publicStatus(int stage)

publicStatus(int stage, long value)

Methods
public intgetStage()

public longgetValue()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int STAGE_SOURCE_PREPARED

The PreloadMediaSource has completed preparation.

public static final int STAGE_TRACKS_SELECTED

The PreloadMediaSource has tracks selected.

public static final int STAGE_LOADED_TO_POSITION_MS

The PreloadMediaSource is loaded to a specific position in microseconds.

Constructors

public Status(int stage, long value)

public Status(int stage)

Methods

public int getStage()

public long getValue()