Language

BAAssetPackManager.GetLocalVersion(String, NSError) Method

Definition

Gets the version number of a locally available asset pack.

[Foundation.Export("localVersionOfAssetPackWithIdentifier:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr GetLocalVersion(string assetPackIdentifier, out Foundation.NSError? error);
[<Foundation.Export("localVersionOfAssetPackWithIdentifier:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLocalVersion : string * NSError -> nativeint
override this.GetLocalVersion : string * NSError -> nativeint

Parameters

assetPackIdentifier
String

The identifier of the asset pack to query.

error
NSError

The error, or null if the operation succeeded.

Returns

IntPtr

nativeint

The asset pack's version number, or -1 if an error occurred.

Attributes

Applies to