Package com.brightcove.player.edge
Class AbstractOfflineCatalog.Builder<T extends AbstractOfflineCatalog.Builder<T>>
java.lang.Object
com.brightcove.player.edge.Catalog.AbstractBuilder<T>
com.brightcove.player.edge.AbstractOfflineCatalog.Builder<T>
- Direct Known Subclasses:
OfflineCatalog.Builder
- Enclosing class:
- AbstractOfflineCatalog
protected abstract static class AbstractOfflineCatalog.Builder<T extends AbstractOfflineCatalog.Builder<T>>
extends Catalog.AbstractBuilder<T>
An abstract Builder which sets the bases to create the OfflineCatalog object.
-
Constructor Summary
ConstructorDescriptionBuilder
(android.content.Context context, EventEmitter eventEmitter, String account) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract T
self()
Returns the instance of itself.setDownloadFileCreator
(DownloadFileCreator downloadFileCreator) Sets theDownloadFileCreator
to retrieve a directory to store offline content.Methods inherited from class com.brightcove.player.edge.Catalog.AbstractBuilder
build, setBaseURL, setPolicy, setProperties
-
Constructor Details
-
Builder
public Builder(@NonNull android.content.Context context, @NonNull EventEmitter eventEmitter, @NonNull String account)
-
-
Method Details
-
setDownloadFileCreator
Sets theDownloadFileCreator
to retrieve a directory to store offline content. -
self
Description copied from class:Catalog.AbstractBuilder
Returns the instance of itself. This is a part of the pattern to set the Builder ready for inheritance.- Specified by:
self
in classCatalog.AbstractBuilder<T extends AbstractOfflineCatalog.Builder<T>>
-