Enabled

A Permitted State indicating the Bluetooth service is enabled

Inheritors

Types

Link copied to clipboard

An Enabled State indicating no active scanning is taking place

Link copied to clipboard

An Enabled State indicating scanning is taking place

Properties

Link copied to clipboard
abstract val deinitialize: suspend () -> ScanningState.Deinitialized

Transitions into a Deinitialized State

Link copied to clipboard

The Devices discovered

Link copied to clipboard
abstract val disable: suspend () -> ScanningState.NoBluetooth.Disabled

Transitions into a NoBluetooth.Disabled State

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun pairedDevices(devices: Map<Identifier, () -> Device>, filter: Filter, removeForAllPairedFilters: Boolean): suspend () -> ScanningState.Enabled

Transitions into an Enabled state where a set of devices is paired

Link copied to clipboard
open fun <S : KalugaState> remain(): suspend () -> S
Link copied to clipboard
abstract suspend fun retrievePairedDevices(filter: Filter, removeForAllPairedFilters: Boolean, connectionSettings: ConnectionSettings?)

Starts to retrieve the list of paired Device