共用方式為


CBPeripheral.SetNotifyValue(Boolean, CBCharacteristic) 方法

定義

設定指定 characteristic 之 的通知狀態。

[Foundation.Export("setNotifyValue:forCharacteristic:")]
public virtual void SetNotifyValue (bool enabled, CoreBluetooth.CBCharacteristic characteristic);
abstract member SetNotifyValue : bool * CoreBluetooth.CBCharacteristic -> unit
override this.SetNotifyValue : bool * CoreBluetooth.CBCharacteristic -> unit

參數

enabled
Boolean
characteristic
CBCharacteristic
屬性

適用於