A sample to handle polling of connected Bluetooth devices. It uses polling because there doesn't seem to be a reliable callback to get the Bluetooth state which includes which devices are connected, and if headest Bluetooth is connected.
AndroidDeveloperLB/ConnectedBluetoothDevicesSample
A sample to handle polling of connected Bluetooth devices
KotlinApache-2.0