BasePreloadManager.BuilderBase


protected abstract class BasePreloadManager.BuilderBase<T>


A base class of the builder of the concrete extension of BasePreloadManager.

Summary

Public constructors

BuilderBase(
    Comparator<T> rankingDataComparator,
    TargetPreloadStatusControl<T> targetPreloadStatusControl,
    Supplier<MediaSource.Factory> mediaSourceFactorySupplier
)

Public methods

abstract BasePreloadManager<T>

Protected fields

mediaSourceFactorySupplier

protected Supplier<MediaSource.FactorymediaSourceFactorySupplier

rankingDataComparator

protected final Comparator<T> rankingDataComparator

targetPreloadStatusControl

protected final TargetPreloadStatusControl<T> targetPreloadStatusControl

Public constructors

BuilderBase

public BuilderBase(
    Comparator<T> rankingDataComparator,
    TargetPreloadStatusControl<T> targetPreloadStatusControl,
    Supplier<MediaSource.Factory> mediaSourceFactorySupplier
)

Public methods

build

public abstract BasePreloadManager<T> build()