calculateUninstallSize

Calculates the size that would be freed by removing the specified regions.

This provides an estimate of the storage space that would be reclaimed if the specified regions were deleted.

The callback receives either:

Return

A Cancellable handle. Call Cancellable.cancel to cancel the operation.

Parameters

regions

The regions to calculate uninstall size for.

callback

Called with the result when available. Invoked on the main thread.

Throws

if NdsStore or RegionUpdater is closed.

if regions set is empty.