Interface ShadowBluetoothDevice.BluetoothGattConnectionInterceptor

Enclosing class:
ShadowBluetoothDevice

public static interface ShadowBluetoothDevice.BluetoothGattConnectionInterceptor
Interceptor interface for BluetoothGatt objects. Tests that require configuration of their ShadowBluetoothGatt's may inject an interceptor, which will be called with the newly constructed BluetoothGatt before ShadowBluetoothGatt#connectGatt returns.
  • Method Details

    • onNewGattConnection

      void onNewGattConnection(BluetoothGatt gatt)