Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

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.