delete

Deletes the specified regions.

The operations will be scheduled and performed asynchronously. Use RegionInfoUpdateListener for the progress tracking.

Return

A Result containing either a set of RegionOperation or a MapUpdateError if the operation could not be scheduled. The error could be (but not limited to):

  • a region is already scheduled for download or deletion.

  • none of the given regions is available for deletion.

Parameters

regionIds

The regions to delete.

Throws

if NdsStore or RegionUpdater is closed.

if region list is empty.

Note This API will cancel the ongoing automatic updates for the regions.