편집

다음을 통해 공유


CBPeripheral.WriteValue Method

Definition

Overloads

WriteValue(NSData, CBDescriptor)

Writes data to the characteristic that is identified by the specified descriptor.

WriteValue(NSData, CBCharacteristic, CBCharacteristicWriteType)

Writes data to the characteristic that is identified by the specified descriptor, with or without a response.

WriteValue(NSData, CBDescriptor)

Writes data to the characteristic that is identified by the specified descriptor.

[Foundation.Export("writeValue:forDescriptor:")]
public virtual void WriteValue (Foundation.NSData data, CoreBluetooth.CBDescriptor descriptor);
abstract member WriteValue : Foundation.NSData * CoreBluetooth.CBDescriptor -> unit
override this.WriteValue : Foundation.NSData * CoreBluetooth.CBDescriptor -> unit

Parameters

data
NSData
descriptor
CBDescriptor
Attributes

Applies to

WriteValue(NSData, CBCharacteristic, CBCharacteristicWriteType)

Writes data to the characteristic that is identified by the specified descriptor, with or without a response.

[Foundation.Export("writeValue:forCharacteristic:type:")]
public virtual void WriteValue (Foundation.NSData data, CoreBluetooth.CBCharacteristic characteristic, CoreBluetooth.CBCharacteristicWriteType type);
abstract member WriteValue : Foundation.NSData * CoreBluetooth.CBCharacteristic * CoreBluetooth.CBCharacteristicWriteType -> unit
override this.WriteValue : Foundation.NSData * CoreBluetooth.CBCharacteristic * CoreBluetooth.CBCharacteristicWriteType -> unit

Parameters

data
NSData
characteristic
CBCharacteristic
Attributes

Applies to