Offline Region
An offline region represents an identifiable geographic region with optional metadata.
Functions
get Geometry Definition
Link copied to clipboard
The geometry defining the region.
get Identifier
Link copied to clipboard
The regions identifier
get Metadata
Link copied to clipboard
Arbitrary binary region metadata.
get Status
Link copied to clipboard
Return the current status of this offline region.
get Tile Pyramid Definition
Link copied to clipboard
The tile pyramid defining the region.
invalidate
Link copied to clipboard
Invalidate all the tiles for the region forcing to revalidate the tiles with the server before using.
purge
Link copied to clipboard
Remove an offline region from the database and perform any resources evictions necessary as a result.
set Metadata
Link copied to clipboard
open fun setMetadata(@NonNull metadata: Array<Byte>, @NonNull callback: AsyncOperationResultCallback)
Content copied to clipboard
Sets arbitrary binary region metadata for the region.
set Offline Region Download State
Link copied to clipboard
open fun setOfflineRegionDownloadState(@NonNull state: OfflineRegionDownloadState)
Content copied to clipboard
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).
set Offline Region Observer
Link copied to clipboard
open fun setOfflineRegionObserver(@NonNull observer: OfflineRegionObserver)
Content copied to clipboard
Register an observer to be notified when the state of the region changes.