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
属性

适用于