This callback receives an asynchronous response containing the newly created OfflineRegion in the database or an error message otherwise.
This callback receives an asynchronous response containing a list of all OfflineRegion in the database or an error message otherwise.
This callback receives an asynchronous response containing a notification when an offline region has been deleted, or a
A region can have a single observer, which gets notified whenever a change to the region's status occurs.
This callback receives an asynchronous response containing the OfflineRegionStatus of the offline region, or a
This callback receives an asynchronous response containing the newly update OfflineMetadata in the database, or an error message otherwise.
This is the interface that all Offline Region definitions have to implement.
The offline manager is the main entry point for offline-related functionality.
An offline region is the basic building block for offline mobile maps.
An Offline Region error
A region's status includes its active/inactive state as well as counts of the number of resources that have completed downloading, their total size in bytes, and the total number of resources that are required.
An offline region defined by a style URL, geographic bounding box, zoom range, and device pixel ratio.
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).
Error code, as a string, self-explanatory.
© 2015–2017 Mapbox. All rights reserved.