CBPeripheral.ReadValue 方法

定义

重载

ReadValue(CBCharacteristic)

读取指定 characteristic的值。

ReadValue(CBDescriptor)

读取由指定的 descriptor标识的特征的值。

ReadValue(CBCharacteristic)

读取指定 characteristic的值。

[Foundation.Export("readValueForCharacteristic:")]
public virtual void ReadValue (CoreBluetooth.CBCharacteristic characteristic);
abstract member ReadValue : CoreBluetooth.CBCharacteristic -> unit
override this.ReadValue : CoreBluetooth.CBCharacteristic -> unit

参数

characteristic
CBCharacteristic
属性

适用于

ReadValue(CBDescriptor)

读取由指定的 descriptor标识的特征的值。

[Foundation.Export("readValueForDescriptor:")]
public virtual void ReadValue (CoreBluetooth.CBDescriptor descriptor);
abstract member ReadValue : CoreBluetooth.CBDescriptor -> unit
override this.ReadValue : CoreBluetooth.CBDescriptor -> unit

参数

descriptor
CBDescriptor
属性

适用于