BLEServiceState

sealed interface BLEServiceState

Represents the state of the Bluetooth Low Energy (BLE) service.

This sealed interface defines various states that the BLE service can be in.

Inheritors

Types

Link copied to clipboard

Represents an event indicating that Bluetooth is not enabled.

Link copied to clipboard
data object Idle : BLEServiceState

Represents the idle state of the BLE service.

Link copied to clipboard
data class MissingPermissions(val permissions: List<String>) : BLEServiceState

Represents an event indicating missing permissions.

Link copied to clipboard
data class Scanning(val devices: List<BLEDevice>) : BLEServiceState

Represents the scanning state of the BLE service.