BAAssetPackManager.GetLocalVersion(String, NSError) 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.
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
nativeint
The asset pack's version number, or -1 if an error occurred.
- Attributes