public static class RxBleClientMock.DescriptorsBuilder
extends java.lang.Object
| Constructor and Description |
|---|
DescriptorsBuilder()
Build a new
BluetoothGattDescriptor list. |
| Modifier and Type | Method and Description |
|---|---|
RxBleClientMock.DescriptorsBuilder |
addDescriptor(java.util.UUID uuid,
byte[] data)
Adds a
BluetoothGattDescriptor with specified parameters. |
java.util.List<android.bluetooth.BluetoothGattDescriptor> |
build()
Create the
List of BluetoothGattDescriptor using the configured values. |
public DescriptorsBuilder()
BluetoothGattDescriptor list.
Should be used in pair with RxBleClientMock.CharacteristicsBuilder.addCharacteristic(java.util.UUID, byte[], java.util.List<android.bluetooth.BluetoothGattDescriptor>)public RxBleClientMock.DescriptorsBuilder addDescriptor(java.util.UUID uuid, byte[] data)
BluetoothGattDescriptor with specified parameters.uuid - descriptor UUIDdata - locally stored value of the descriptorpublic java.util.List<android.bluetooth.BluetoothGattDescriptor> build()
List of BluetoothGattDescriptor using the configured values.