TargetPreloadStatusControl


@UnstableApi
public interface TargetPreloadStatusControl<T, PreloadStatusT>


Controls the target preload status.

Summary

Public methods

abstract @Nullable PreloadStatusT
getTargetPreloadStatus(T rankingData)

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

Public methods

getTargetPreloadStatus

abstract @Nullable PreloadStatusT 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.