Interface AdapterStateListener


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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Fired on the EDT whenever the adapter transitions to a new AdapterState.
  • Method Details

    • adapterStateChanged

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