calculateUninstallSize
fun calculateUninstallSize(regions: Set<RegionGraphNodeId>, callback: Callback<Memory, MapUpdateError>): Cancellable
Calculates the uninstallation size of the specified regions.
Important: This is a Public Preview API. It may be changed or removed at any time.
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.
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.