delete

Remove an offline region from the database and perform any resources evictions necessary as a result.

Eviction works by removing the least-recently requested resources not also required by other regions, until the database shrinks below a certain size.

When the operation is complete or encounters an error, the given callback will be executed on the main thread.

Note that this operation can be potentially slow if packing the database occurs automatically (com.mapbox.mapboxsdk.offline.OfflineManager.runPackDatabaseAutomatically)

After you call this method, you may not call any additional methods on this object.

Parameters

callback

the callback to be invoked