BAAssetPackManager.GetLocalSizeAsync(String, BASizeCalculationMethod) 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.
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