TargetPreloadStatusControl


@UnstableApi
public interface TargetPreloadStatusControl<T>


Controls the target preload status.

Summary

Nested types

Defines the status of the preloading for a MediaSource.

Public methods

abstract @Nullable TargetPreloadStatusControl.PreloadStatus
getTargetPreloadStatus(T rankingData)

Returns the target preload status for a source with the given rankingData.

Public methods

getTargetPreloadStatus

abstract @Nullable TargetPreloadStatusControl.PreloadStatus getTargetPreloadStatus(T rankingData)

Returns the target preload status for a source with the given rankingData. May be null if a MediaSource with the given rankingData should not be preloaded.