calculateUninstallSize

Calculates the uninstallation size of the specified regions.

Return

The Cancellable operation. When cancel with Cancellable.cancel, the callback will not be called.

Note: The calculated size may not be accurate if any region is currently undergoing a map operation.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

regions

The set of updatable RegionGraphNodeId for calculating the uninstall size. If any RegionGraphNodeId does not exist in the RegionGraph or is not an updatable region, MapUpdateError.InvalidArgument will be passed to the callback.

callback

Invoked when the operation has been finished either successfully or with an error. The callback will be executed on the main thread.