Package org.robolectric.shadows
Class ShadowBluetoothGatt
- java.lang.Object
-
- org.robolectric.shadows.ShadowBluetoothGatt
-
@Implements(value=android.bluetooth.BluetoothGatt.class, minSdk=18) public class ShadowBluetoothGatt extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowBluetoothGatt()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
connect()
Overrides behavior ofBluetoothGatt.connect()
to always return true.static BluetoothGatt
newInstance(BluetoothDevice device)
-
-
-
Method Detail
-
newInstance
public static BluetoothGatt newInstance(BluetoothDevice device)
-
connect
@Implementation(minSdk=18) protected boolean connect()
Overrides behavior ofBluetoothGatt.connect()
to always return true.- Returns:
- true, unconditionally
-
-