다음을 통해 공유


BluetoothGattCharacteristic.WriteType Property

Definition

Gets the write type for this characteristic. -or- Set the write type for this characteristic

public virtual Android.Bluetooth.GattWriteType WriteType { [Android.Runtime.Register("getWriteType", "()I", "GetGetWriteTypeHandler")] get; [Android.Runtime.Register("setWriteType", "(I)V", "GetSetWriteType_IHandler")] set; }
[<get: Android.Runtime.Register("getWriteType", "()I", "GetGetWriteTypeHandler")>]
[<set: Android.Runtime.Register("setWriteType", "(I)V", "GetSetWriteType_IHandler")>]
member this.WriteType : Android.Bluetooth.GattWriteType with get, set

Property Value

Write type for this characteristic

Attributes

Remarks

Property getter documentation:

Gets the write type for this characteristic.

Java documentation for android.bluetooth.BluetoothGattCharacteristic.getWriteType().

Property setter documentation:

Set the write type for this characteristic

Setting the write type of a characteristic determines how the BluetoothGatt#writeCharacteristic(BluetoothGattCharacteristic, byte[], int) function write this characteristic.

Java documentation for android.bluetooth.BluetoothGattCharacteristic.setWriteType(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to