@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="BluetoothRemoteGATTDescriptor")
public class BluetoothRemoteGATTDescriptor
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
BluetoothRemoteGATTDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
BluetoothRemoteGATTCharacteristic |
characteristic()
The BluetoothRemoteGATTDescriptor.characteristic read-only property returns the BluetoothRemoteGATTCharacteristic this descriptor belongs to.
|
Promise<DataView> |
readValue()
The BluetoothRemoteGATTDescriptor.readValue() method returns a Promise that resolves to an ArrayBuffer holding a duplicate of the value property if it is available and supported.
|
java.lang.String |
uuid()
The BluetoothRemoteGATTDescriptor.uuid read-only property returns the UUID of the characteristic descriptor, for example '00002902-0000-1000-8000-00805f9b34fb' for theClient Characteristic Configuration descriptor.
|
DataView |
value()
The BluetoothRemoteGATTDescriptor.value read-only property returns an ArrayBuffer containing the currently cached descriptor value.
|
Promise<java.lang.Void> |
writeValue(BufferSource value)
The BluetoothRemoteGATTDescriptor.writeValue() method sets the value property to the bytes contained in an ArrayBuffer and returns a Promise.
|
@JsProperty(name="characteristic") @Nonnull public BluetoothRemoteGATTCharacteristic characteristic()
@JsProperty(name="uuid") @Nonnull public java.lang.String uuid()
@JsProperty(name="value") @Nullable public DataView value()
@Nonnull public Promise<DataView> readValue()
@Nonnull public Promise<java.lang.Void> writeValue(@Nonnull BufferSource value)