Editar

Compartir a través de


HMCharacteristic.EnableNotification(Boolean, Action<NSError>) Method

Definition

Enables or disables notifications and runs completion after it has finished.

[Foundation.Export("enableNotification:completionHandler:")]
public virtual void EnableNotification (bool enable, Action<Foundation.NSError> completion);
abstract member EnableNotification : bool * Action<Foundation.NSError> -> unit
override this.EnableNotification : bool * Action<Foundation.NSError> -> unit

Parameters

enable
Boolean
completion
Action<NSError>

A handler that returns null on success, or an error object on failure.

Attributes

Applies to