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
Modifier and Type Method Description protected boolean
connect()
Overrides behavior ofBluetoothGatt.connect()
to always return true.static BluetoothGatt
newInstance(BluetoothDevice device)
-
Constructor Details
-
ShadowBluetoothGatt
public ShadowBluetoothGatt()
-
-
Method Details
-
newInstance
-
connect
Overrides behavior ofBluetoothGatt.connect()
to always return true.- Returns:
- true, unconditionally
-