Interface BluetoothListener


  • public interface BluetoothListener
    This listener can be specified when you try to enable or disable Bluetooth. It will be notified when the process is finished.
    • Method Detail

      • bluetoothEnabled

        void bluetoothEnabled​(BluetoothAdapter btAdapter,
                              boolean enabled)
        Called when the enable or disable process is finished.
        Parameters:
        btAdapter - the Bluetooth adapter
        enabled - true if Bluetooth is enabled after the process, false if it's disabled after the process