@Implements(value=android.bluetooth.BluetoothGatt.class, minSdk=18) public class ShadowBluetoothGatt extends Object
Constructor | Description |
---|---|
ShadowBluetoothGatt() |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
connect() |
Overrides behavior of
BluetoothGatt.connect() to always return true. |
static BluetoothGatt |
newInstance(BluetoothDevice device) |
public static BluetoothGatt newInstance(BluetoothDevice device)
@Implementation(minSdk=18) protected boolean connect()
BluetoothGatt.connect()
to always return true.