Builder

actual class Builder

Builder for creating a BluetoothMonitor

Parameters

context

the Context in which Bluetooth should run

adapter

the BluetoothAdapter to use to access Bluetooth

expect class Builder

Builder for creating a BluetoothMonitor

actual class Builder

Builder for creating a BluetoothMonitor

Parameters

centralManagerBuilder

a method cor creating a CBCentralManager to manage Bluetooth

actual class Builder

Builder for creating a BluetoothMonitor

actual class Builder

Builder for creating a BluetoothMonitor

Constructors

Link copied to clipboard
constructor(context: Context = ApplicationHolder.applicationContext, adapter: BluetoothAdapter)
constructor(centralManagerBuilder: () -> <Error class: unknown class> = { CBCentralManager() })
constructor()
constructor()

Functions

Link copied to clipboard
actual fun create(): BluetoothMonitor

Creates the BluetoothMonitor

expect fun create(): BluetoothMonitor

Creates the BluetoothMonitor

actual fun create(): BluetoothMonitor

Creates the BluetoothMonitor

actual fun create(): BluetoothMonitor

Creates the BluetoothMonitor

actual fun create(): BluetoothMonitor

Creates the BluetoothMonitor