SimulationProvider

This class allows simulating events which would normally be emitted by the real central manager.

Functions

Link copied to clipboard
abstract fun simulatePeripherals(peripherals: List<PeripheralSpec<ID>>)

Sets a list of simulated peripherals.

Link copied to clipboard
abstract fun tearDownSimulation()

Removes all active central manager instances and peripherals from the simulation.