CBPeripheral.SetNotifyValue(Boolean, CBCharacteristic) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定指定 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
- 屬性