ScanningState

The KalugaState of scanning for Bluetooth devices

Inheritors

Types

Link copied to clipboard
interface Active : ScanningState

A ScanningState indicating observation has started

Link copied to clipboard

A ScanningState indicating observation has stopped after being started

Link copied to clipboard
sealed class DeviceDiscoveryMode

A mode in which Device can be discovered

Link copied to clipboard
interface Devices

The Device found during scanning

Link copied to clipboard

A Permitted State indicating the Bluetooth service is enabled

Link copied to clipboard

A ScanningState indicating observation is not active

Link copied to clipboard

An Active State indicating observation has started and initialization has completed

Link copied to clipboard

An Active State indicating the state is transitioning from Inactive to Initialized

Link copied to clipboard

An Initialized State indicating Bluetooth is not available

Link copied to clipboard

A ScanningState indicating the system does not support Bluetooth

Link copied to clipboard

An Inactive State indicating observation has not started yet

Link copied to clipboard

An Initialized State indicating all permissions related to Bluetooth have been granted

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun <S : KalugaState> remain(): suspend () -> S