Düzenle

Aracılığıyla paylaş


HMCharacteristic.WriteValue(NSObject, Action<NSError>) Method

Definition

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

[Foundation.Export("writeValue:completionHandler:")]
public virtual void WriteValue (Foundation.NSObject value, Action<Foundation.NSError> completion);
abstract member WriteValue : Foundation.NSObject * Action<Foundation.NSError> -> unit
override this.WriteValue : Foundation.NSObject * Action<Foundation.NSError> -> unit

Parameters

value
NSObject
completion
Action<NSError>

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

Attributes

Applies to