public interface ConnectionListener

Observes BlePeripheral connection state transitions registered via BlePeripheral.addConnectionListener(ConnectionListener). Single abstract method so application code can pass a lambda. Always invoked on the EDT.

Methods

public abstract void connectionStateChanged(ConnectionEvent event)Fired on the EDT for every connection state transition.

Method details

connectionStateChanged

public abstract void connectionStateChanged(ConnectionEvent event)
Fired on the EDT for every connection state transition.