CBPeripheral.ReadValue 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReadValue(CBCharacteristic) |
读取指定 |
ReadValue(CBDescriptor) |
读取由指定的 |
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
- 属性