編輯

共用方式為


HMCharacteristic.UpdateAuthorizationDataAsync(NSData) Method

Definition

Updates the authorization data by using data and runs completion after it has finished.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task UpdateAuthorizationDataAsync (Foundation.NSData data);
abstract member UpdateAuthorizationDataAsync : Foundation.NSData -> System.Threading.Tasks.Task
override this.UpdateAuthorizationDataAsync : Foundation.NSData -> System.Threading.Tasks.Task

Parameters

data
NSData

Returns

A task that represents the asynchronous UpdateAuthorizationData operation

Attributes

Remarks

The UpdateAuthorizationDataAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to