public interface AdapterStateListener

Observes local adapter state changes registered via Bluetooth.addAdapterStateListener(AdapterStateListener). Single abstract method so application code can pass a lambda. Always invoked on the EDT.

Methods

public abstract void adapterStateChanged(AdapterState newState)Fired on the EDT whenever the adapter transitions to a new AdapterState.

Method details

adapterStateChanged

public abstract void adapterStateChanged(AdapterState newState)
Fired on the EDT whenever the adapter transitions to a new AdapterState.