init

fun init(application: Application, enableLog: Boolean = false, bluetoothStateChangeListener: BluetoothStateChangeListener? = null)

Initializes Bluetooth connection settings

Parameters

application

The application instance used for initializing Bluetooth connection

enableLog

Whether to enable logging, default is false

bluetoothStateChangeListener

The listener for Bluetooth state changes, default is null