OfflineContentManagerListener
interface OfflineContentManagerListener
Functions
| Name | Summary |
|---|---|
| onCompleted | abstract fun onCompleted(sourceConfig: SourceConfig, offlineContentOptions: OfflineContentOptions) Is called when a OfflineContentManager.process call has completed successfully. |
| onDrmLicenseUpdated | abstract fun onDrmLicenseUpdated(sourceConfig: SourceConfig) Is called when the DRM license was updated. |
| onError | abstract fun onError(sourceConfig: SourceConfig, errorEvent: ErrorEvent) Is called when an error occurs. |
| onOptionsAvailable | abstract fun onOptionsAvailable(sourceConfig: SourceConfig, offlineContentOptions: OfflineContentOptions) Is called after a OfflineContentManager.getOptions or when am OfflineOptionEntry has been updated during a OfflineContentManager.process call. If the OfflineContentManager.process is finished, OfflineContentManagerListener.onCompleted is called instead. |
| onProgress | abstract fun onProgress(sourceConfig: SourceConfig, progress: Float) Is called when the progress for a OfflineContentManager.process call changes. |
| onResumed | abstract fun onResumed(sourceConfig: SourceConfig) Is called when all actions have been resumed. |
| onSuspended | abstract fun onSuspended(sourceConfig: SourceConfig) Is called when all actions have been suspended. |