Class ShadowBluetoothGatt


  • @Implements(value=android.bluetooth.BluetoothGatt.class,
                minSdk=18)
    public class ShadowBluetoothGatt
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean connect()
      Overrides behavior of BluetoothGatt.connect() to always return true.
      static android.bluetooth.BluetoothGatt newInstance​(android.bluetooth.BluetoothDevice device)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowBluetoothGatt

        public ShadowBluetoothGatt()
    • Method Detail

      • newInstance

        public static android.bluetooth.BluetoothGatt newInstance​(android.bluetooth.BluetoothDevice device)
      • connect

        @Implementation(minSdk=18)
        protected boolean connect()
        Overrides behavior of BluetoothGatt.connect() to always return true.
        Returns:
        true, unconditionally