TargetPreloadStatusControl


@UnstableApi
interface TargetPreloadStatusControl<T>


Controls the target preload status.

Summary

Nested types

Defines the status of the preloading for a MediaSource.

Public functions

TargetPreloadStatusControl.PreloadStatus?
getTargetPreloadStatus(rankingData: T!)

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

Public functions

getTargetPreloadStatus

fun getTargetPreloadStatus(rankingData: T!): TargetPreloadStatusControl.PreloadStatus?

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.