BluetoothConnectivityStatus

fun BluetoothConnectivityStatus(    connectionState: BluetoothConnectivityStatus.BluetoothConnectionState,     bondState: BluetoothConnectivityStatus.BluetoothBondState,     lastBondStateChangeReason: BluetoothConnectivityStatus.BondStateChangeReason? = null)

Parameters

connectionState

The connection state of a remote Bluetooth device.

bondState

The bond state of a remote Bluetooth device.

lastBondStateChangeReason

Holds the reason why the last bond state was changed. Defaults to null when not provided. When null, the reason is unknown.