calculateUninstallSize
fun calculateUninstallSize(compositeRegionIds: Set<CompositeRegionId>, callback: Callback<Memory, MapUpdateError>): Cancellable
Calculates the uninstallation size of the specified composite 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 composition region is currently undergoing a map operation.
Parameters
compositeRegionIds
The set of CompositeRegionId for calculating the uninstall size. If any CompositeRegionId does not exist in the CompositeRegionGraph, 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.