public class ConnectionSetup
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionSetup.Builder |
| Modifier and Type | Field and Description |
|---|---|
boolean |
autoConnect
Flag related with
BluetoothDevice.connectGatt(Context, boolean, BluetoothGattCallback) autoConnect flag. |
static int |
DEFAULT_OPERATION_TIMEOUT |
Timeout |
operationTimeout
Timeout in seconds after which the operation will be considered as broken.
|
boolean |
suppressOperationCheck
Flag describing the method of operation viability checking.
|
public static final int DEFAULT_OPERATION_TIMEOUT
public final boolean autoConnect
BluetoothDevice.connectGatt(Context, boolean, BluetoothGattCallback) autoConnect flag.
In case of auto connect is enabled the observable will wait with the emission of RxBleConnection. Without
auto connect flag set to true the connection will fail
with BleGattException if the device is not in range.public final boolean suppressOperationCheck
BleIllegalOperationException will be thrown everytime properties of the characteristic
don't match those required by the operation. If set to true, an event will be logged without interrupting the execution.public final Timeout operationTimeout