FakeBluetoothRepository

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val state: StateFlow<BluetoothState>

Functions

Link copied to clipboard
open suspend override fun bond(device: BleDevice)
Link copied to clipboard
open override fun isBonded(address: String): Boolean
Link copied to clipboard
open override fun isValid(bleAddress: String): Boolean
Link copied to clipboard
open override fun refreshState()
Link copied to clipboard
open fun reset()

Resets all registered state flows and custom actions to their initial state.

Link copied to clipboard
Link copied to clipboard
fun setHasPermissions(hasPermissions: Boolean)