my.onBluetoothAdapterStateChange().
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| callback | Function | No | The specific callback to remove. If omitted, all listeners are removed. |
Code Example
Remove All Listeners
Remove Specific Listener
Complete Bluetooth Cleanup
Related APIs
my.onBluetoothAdapterStateChange
Listen for state changes
my.closeBluetoothAdapter
Close adapter