OfflineContentManagerListener

interface OfflineContentManagerListener

Functions

onCompleted
Link copied to clipboard
abstract fun onCompleted(sourceConfig: SourceConfig, offlineContentOptions: OfflineContentOptions)
Is called when a process call has completed.
onDrmLicenseUpdated
Link copied to clipboard
abstract fun onDrmLicenseUpdated(sourceConfig: SourceConfig)
Is called when the DRM license was updated.
onError
Link copied to clipboard
abstract fun onError(sourceConfig: SourceConfig, errorEvent: ErrorEvent)
Is called when an error occurs.
onOptionsAvailable
Link copied to clipboard
abstract fun onOptionsAvailable(sourceConfig: SourceConfig, offlineContentOptions: OfflineContentOptions)
Is called after a getOptions or when am OfflineOptionEntry hasbeen updated during a process call.
onProgress
Link copied to clipboard
abstract fun onProgress(sourceConfig: SourceConfig, progress: Float)
Is called when the progress for a process call changes.
onResumed
Link copied to clipboard
abstract fun onResumed(sourceConfig: SourceConfig)
Is called when all actions have been resumed.
onSuspended
Link copied to clipboard
abstract fun onSuspended(sourceConfig: SourceConfig)
Is called when all actions have been suspended.