TargetPreloadStatusControl


@UnstableApi
interface TargetPreloadStatusControl<T, PreloadStatusT>


Controls the target preload status.

Summary

Public functions

PreloadStatusT?
getTargetPreloadStatus(rankingData: T!)

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

Public functions

getTargetPreloadStatus

fun getTargetPreloadStatus(rankingData: T!): PreloadStatusT?

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.