Package eu.woolplatform.utils.bluetooth
Interface BluetoothListener
-
public interface BluetoothListenerThis listener can be specified when you try to enable or disable Bluetooth. It will be notified when the process is finished.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbluetoothEnabled(BluetoothAdapter btAdapter, boolean enabled)Called when the enable or disable 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 adapterenabled- true if Bluetooth is enabled after the process, false if it's disabled after the process
-
-