BluetoothEnabledState

Represents the state of Bluetooth on the device. Provides information about whether Bluetooth is enabled and allows enabling it.

Properties

Link copied to clipboard
actual val isEnabled: Boolean
expect val isEnabled: Boolean

Indicates if Bluetooth is currently enabled.

actual val isEnabled: Boolean

Functions

Link copied to clipboard
fun cleanup()
Link copied to clipboard
actual suspend fun enable()
expect suspend fun enable()

Enables Bluetooth on the device.

actual suspend fun enable()
Link copied to clipboard