Language

BAAssetPackManager.GetLocalSizeAsync(String, BASizeCalculationMethod) Method

Definition

Asynchronously calculates the installation size of a locally available asset pack.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<long> GetLocalSizeAsync(string assetPackIdentifier, BackgroundAssets.BASizeCalculationMethod calculationMethod);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLocalSizeAsync : string * BackgroundAssets.BASizeCalculationMethod -> System.Threading.Tasks.Task<int64>
override this.GetLocalSizeAsync : string * BackgroundAssets.BASizeCalculationMethod -> System.Threading.Tasks.Task<int64>

Parameters

assetPackIdentifier
String

The identifier of the asset pack to query.

calculationMethod
BASizeCalculationMethod

How to calculate the installation size.

Returns

A task that returns the installation size in bytes.

Attributes

Applies to