BAAssetPackManager.GetLocalSize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates the installation size of a locally available asset pack.
[Foundation.Export("getLocalSizeOfAssetPackWithIdentifier:calculationMethod:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void GetLocalSize(string assetPackIdentifier, BackgroundAssets.BASizeCalculationMethod calculationMethod, BackgroundAssets.BAAssetPackManagerGetLocalSizeCompletionHandler completionHandler);
[<Foundation.Export("getLocalSizeOfAssetPackWithIdentifier:calculationMethod:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLocalSize : string * BackgroundAssets.BASizeCalculationMethod * BackgroundAssets.BAAssetPackManagerGetLocalSizeCompletionHandler -> unit
override this.GetLocalSize : string * BackgroundAssets.BASizeCalculationMethod * BackgroundAssets.BAAssetPackManagerGetLocalSizeCompletionHandler -> unit
Parameters
- assetPackIdentifier
- String
The identifier of the asset pack to query.
- calculationMethod
- BASizeCalculationMethod
How to calculate the installation size.
- completionHandler
- BAAssetPackManagerGetLocalSizeCompletionHandler
A completion handler called with the size in bytes or an error.
- Attributes