setOfflineConfig

fun setOfflineConfig(context: Context, offlineConfig: OfflineConfig)

Sets a OfflineConfig which can be used to configure the behaviour of the offline content feature. Default value is a default OfflineConfig. If the DeviceStateRequirements in the OfflineConfig change, the download service will be notified to reload them using the provided context.

Note: If a custom download service implementation is used, OfflineContentManager.setDownloadServiceClass must be used first!