BluetoothEnabledState

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

Constructors

Link copied to clipboard
constructor()

Properties

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

Indicates if Bluetooth is currently enabled.

actual val isEnabled: Boolean
actual val isEnabled: Boolean = true

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()
actual suspend fun enable()
Link copied to clipboard