protected abstract static class AbstractOfflineCatalog.Builder<T extends AbstractOfflineCatalog.Builder<T>> extends Catalog.AbstractBuilder<T>
Constructor and Description |
---|
Builder(android.content.Context context,
EventEmitter eventEmitter,
java.lang.String account) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
self()
Returns the instance of itself.
|
T |
setDownloadFileCreator(DownloadFileCreator downloadFileCreator)
Sets the
DownloadFileCreator to retrieve a directory to store offline content. |
build, setBaseURL, setPolicy
public Builder(@NonNull android.content.Context context, @NonNull EventEmitter eventEmitter, @NonNull java.lang.String account)
public T setDownloadFileCreator(@NonNull DownloadFileCreator downloadFileCreator)
DownloadFileCreator
to retrieve a directory to store offline content.protected abstract T self()
Catalog.AbstractBuilder
self
in class Catalog.AbstractBuilder<T extends AbstractOfflineCatalog.Builder<T>>