public class RxBleDeviceMock
extends java.lang.Object
| Constructor and Description |
|---|
RxBleDeviceMock(java.lang.String name,
java.lang.String macAddress,
byte[] scanRecord,
java.lang.Integer rssi,
RxBleDeviceServices rxBleDeviceServices,
java.util.Map<java.util.UUID,<any>> characteristicNotificationSources,
android.bluetooth.BluetoothDevice bluetoothDevice) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdvertisedUUID(java.util.UUID advertisedUUID) |
<any> |
establishConnection(boolean autoConnect) |
<any> |
establishConnection(boolean autoConnect,
Timeout operationTimeout) |
java.util.List<java.util.UUID> |
getAdvertisedUUIDs() |
android.bluetooth.BluetoothDevice |
getBluetoothDevice() |
RxBleConnection.RxBleConnectionState |
getConnectionState() |
java.lang.String |
getMacAddress() |
java.lang.String |
getName() |
java.lang.Integer |
getRssi() |
byte[] |
getScanRecord() |
<any> |
observeConnectionStateChanges() |
java.lang.String |
toString() |
public RxBleDeviceMock(java.lang.String name,
java.lang.String macAddress,
byte[] scanRecord,
java.lang.Integer rssi,
RxBleDeviceServices rxBleDeviceServices,
java.util.Map<java.util.UUID,<any>> characteristicNotificationSources,
android.bluetooth.BluetoothDevice bluetoothDevice)
public void addAdvertisedUUID(java.util.UUID advertisedUUID)
public <any> establishConnection(boolean autoConnect)
public <any> establishConnection(boolean autoConnect,
Timeout operationTimeout)
public java.util.List<java.util.UUID> getAdvertisedUUIDs()
public RxBleConnection.RxBleConnectionState getConnectionState()
public java.lang.String getMacAddress()
public android.bluetooth.BluetoothDevice getBluetoothDevice()
public java.lang.String getName()
public java.lang.Integer getRssi()
public byte[] getScanRecord()
public <any> observeConnectionStateChanges()
public java.lang.String toString()
toString in class java.lang.Object