CentralManager
interface CentralManager : CentralManager<String, Peripheral, Peripheral.Executor, ConjunctionFilterScope, ScanResult>
Android-specific interface of the Central Manager.
This interface extends CentralManager and adds support for bonded devices, connecting using Android-specific connection options, and getting peripherals by their MAC addresses.
Functions
Link copied to clipboard
Establishes Bluetooth LE connection to the peripheral using default connection options.
Establishes Bluetooth LE connection to the peripheral.
Link copied to clipboard
Returns a list of peripherals for which the system has bond information.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun monitor(timeout: Duration, filter: ConjunctionFilterScope.() -> Unit): Flow<MonitoringEvent<Peripheral>>
Link copied to clipboard
Link copied to clipboard