Peripheral
abstract class Peripheral<ID : Any, EX : Peripheral.Executor<ID>>(scope: CoroutineScope, impl: EX) : Peer<ID>
Class representing a Bluetooth LE peripheral.
Types
Properties
Link copied to clipboard
Link copied to clipboard
Returns true
if the peripheral is currently connected.
Link copied to clipboard
Returns true
if the peripheral is disconnected of getting disconnected.
Link copied to clipboard
The connection state of the peripheral, as StateFlow. The flow emits a new value whenever the state of the peripheral changes.