Language

BAAssetPackManager.GetLocalSize Method

Definition

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

Applies to