HMCharacteristic.ReadValue(Action<NSError>) Method

Definition

Reads the value of the characteristic and runs completion after it has finished.

[Foundation.Export("readValueWithCompletionHandler:")]
public virtual void ReadValue (Action<Foundation.NSError> completion);
abstract member ReadValue : Action<Foundation.NSError> -> unit
override this.ReadValue : Action<Foundation.NSError> -> unit

Parameters

completion
Action<NSError>

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

Attributes

Applies to