BluetoothSettings

Support for launching the user directly into the bluetooth settings page in order to connect to a headset.

https://developer.android.com/training/wearables/overlays/audio?hl=ca

Functions

Link copied to clipboard
fun Context.launchBluetoothSettings(closeOnConnect: Boolean = true)

Open the bluetooth settings activity and optionally close after connection established.