Compartir a través de


HMCharacteristicWriteAction.UpdateTargetValue Método

Definición

targetValue Novedades y se ejecuta completion después de que haya finalizado.

[Foundation.Export("updateTargetValue:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UpdateTargetValue (Foundation.NSObject targetValue, Action<Foundation.NSError> completion);
abstract member UpdateTargetValue : Foundation.NSObject * Action<Foundation.NSError> -> unit
override this.UpdateTargetValue : Foundation.NSObject * Action<Foundation.NSError> -> unit

Parámetros

targetValue
NSObject
completion
Action<NSError>

Controlador que devuelve null correcto o un objeto de error en caso de error.

Atributos

Se aplica a