BAAssetPackManager.EnsureLocalAvailability 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.
Overloads
| Name | Description |
|---|---|
| EnsureLocalAvailability(BAAssetPack, Boolean, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler) |
Ensures that an asset pack is available locally, optionally requiring the latest version. |
| EnsureLocalAvailability(NSSet<BAAssetPack>, Boolean, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler) |
Ensures that the latest versions of the specified asset packs are available locally. |
| EnsureLocalAvailability(BAAssetPack, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler) | |
| EnsureLocalAvailability(NSSet<BAAssetPack>, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler) |
Ensures that the specified asset packs are available locally. |
EnsureLocalAvailability(BAAssetPack, Boolean, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler)
Ensures that an asset pack is available locally, optionally requiring the latest version.
[Foundation.Export("ensureLocalAvailabilityOfAssetPack:requireLatestVersion:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EnsureLocalAvailability(BackgroundAssets.BAAssetPack assetPack, bool requireLatestVersion, BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler completionHandler);
[<Foundation.Export("ensureLocalAvailabilityOfAssetPack:requireLatestVersion:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EnsureLocalAvailability : BackgroundAssets.BAAssetPack * bool * BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler -> unit
override this.EnsureLocalAvailability : BackgroundAssets.BAAssetPack * bool * BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler -> unit
Parameters
- assetPack
- BAAssetPack
The BAAssetPack to make available.
- requireLatestVersion
- Boolean
If true, checks for updates before making the asset pack available.
- completionHandler
- BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler
A completion handler called with an optional error when the operation completes.
- Attributes
Applies to
EnsureLocalAvailability(NSSet<BAAssetPack>, Boolean, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler)
Ensures that the latest versions of the specified asset packs are available locally.
[Foundation.Export("ensureLocalAvailabilityOfAssetPacks:requireLatestVersions:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EnsureLocalAvailability(Foundation.NSSet<BackgroundAssets.BAAssetPack> assetPacks, bool requireLatestVersions, BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler completionHandler);
[<Foundation.Export("ensureLocalAvailabilityOfAssetPacks:requireLatestVersions:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EnsureLocalAvailability : Foundation.NSSet<BackgroundAssets.BAAssetPack> * bool * BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler -> unit
override this.EnsureLocalAvailability : Foundation.NSSet<BackgroundAssets.BAAssetPack> * bool * BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler -> unit
Parameters
- assetPacks
- NSSet<BAAssetPack>
The asset packs to make available.
- requireLatestVersions
- Boolean
If true, checks for updates before making the asset packs available.
- completionHandler
- BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler
A completion handler called when all requested asset packs are available or an error occurs.
- Attributes
Applies to
EnsureLocalAvailability(BAAssetPack, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler)
[Foundation.Export("ensureLocalAvailabilityOfAssetPack:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EnsureLocalAvailability(BackgroundAssets.BAAssetPack assetPack, BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler completionHandler);
[<Foundation.Export("ensureLocalAvailabilityOfAssetPack:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EnsureLocalAvailability : BackgroundAssets.BAAssetPack * BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler -> unit
override this.EnsureLocalAvailability : BackgroundAssets.BAAssetPack * BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler -> unit
Parameters
- assetPack
- BAAssetPack
- completionHandler
- BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler
- Attributes
Applies to
EnsureLocalAvailability(NSSet<BAAssetPack>, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler)
Ensures that the specified asset packs are available locally.
[Foundation.Export("ensureLocalAvailabilityOfAssetPacks:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EnsureLocalAvailability(Foundation.NSSet<BackgroundAssets.BAAssetPack> assetPacks, BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler completionHandler);
[<Foundation.Export("ensureLocalAvailabilityOfAssetPacks:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EnsureLocalAvailability : Foundation.NSSet<BackgroundAssets.BAAssetPack> * BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler -> unit
override this.EnsureLocalAvailability : Foundation.NSSet<BackgroundAssets.BAAssetPack> * BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler -> unit
Parameters
- assetPacks
- NSSet<BAAssetPack>
The asset packs to make available.
- completionHandler
- BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler
A completion handler called when all requested asset packs are available or an error occurs.
- Attributes