setOfflineRegionDownloadState

open fun setOfflineRegionDownloadState(@NonNull state: OfflineRegionDownloadState)

Sets the download state of an offline region A region is either inactive (not downloading, but previously-downloaded resources are available for use), or active (resources are being downloaded or will be downloaded, if necessary, when network access is available). If the region is already in the given state, this call is ignored.

Parameters

state

The new state to set.