Edit

Share via


HMCharacteristicWriteAction.UpdateTargetValueAsync(NSObject) Method

Definition

Updates targetValue 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 UpdateTargetValueAsync (Foundation.NSObject targetValue);
abstract member UpdateTargetValueAsync : Foundation.NSObject -> System.Threading.Tasks.Task
override this.UpdateTargetValueAsync : Foundation.NSObject -> System.Threading.Tasks.Task

Parameters

targetValue
NSObject

Returns

A task that represents the asynchronous UpdateTargetValue operation

Attributes

Remarks

The UpdateTargetValueAsync 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