共用方式為


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

適用於