@Implements(value=android.bluetooth.BluetoothGatt.class, minSdk=18) public class ShadowBluetoothGatt extends Object
Constructor and Description |
---|
ShadowBluetoothGatt() |
Modifier and Type | Method and 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()
Overrides behavior of BluetoothGatt.connect()
to always return true.