Offline Region Manager Interface
The `offline region manager` that manages offline packs. All of the class’s instance methods are asynchronous reflecting the fact that offline resources are stored in a database. The offline manager maintains a canonical collection of offline packs.
Functions
create Offline Region
Link copied to clipboard
abstract fun createOfflineRegion(@NonNull geometryDefinition: OfflineRegionGeometryDefinition, @NonNull callback: OfflineRegionCreateCallback)
Content copied to clipboard
Creates a new offline region based on a geometry
abstract fun createOfflineRegion(@NonNull tilePyramidDefinition: OfflineRegionTilePyramidDefinition, @NonNull callback: OfflineRegionCreateCallback)
Content copied to clipboard
Creates a new offline region based on a tile pyramid
get Offline Regions
Link copied to clipboard
Invoke a call to fetch a list of offline regions.
merge Offline Database
Link copied to clipboard
abstract fun mergeOfflineDatabase(@NonNull filePath: String, @NonNull callback: OfflineDatabaseMergeCallback)
Content copied to clipboard
Merge offline regions from a secondary database into the main offline database.
set Offline Mapbox Tile Count Limit
Link copied to clipboard
Sets the maximum number of Mapbox-hosted tiles that may be downloaded and stored on the current device.
Inheritors
OfflineRegionManager
Link copied to clipboard