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 ShadowBluetoothDevice.connectGatt(android.content.Context, boolean, android.bluetooth.BluetoothGattCallback) returns.
  • Method Details

    • onNewGattConnection

      void onNewGattConnection(BluetoothGatt gatt)