Bewerken

Delen via


HMCharacteristicEvent.UpdateTriggerValue Method

Definition

Developers should not use this deprecated method.

[Foundation.Export("updateTriggerValue:completionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UpdateTriggerValue (Foundation.INSCopying triggerValue, Action<Foundation.NSError> completion);
abstract member UpdateTriggerValue : Foundation.INSCopying * Action<Foundation.NSError> -> unit
override this.UpdateTriggerValue : Foundation.INSCopying * Action<Foundation.NSError> -> unit

Parameters

triggerValue
INSCopying

The new trigger value. May be null.

This parameter can be null.

completion
Action<NSError>

A handler to run when the operation completes.

Attributes

Applies to