Package-level declarations

This package contains a Factory method to create a mock Android implementation for the Central Manager.

Types

Link copied to clipboard

A mock central manager implementation for Android that can mock a real Central Manager.

Functions

Link copied to clipboard
fun CentralManager.Factory.mock(scope: CoroutineScope, environment: MockEnvironment = LatestApi()): MockCentralManager

Creates a mock implementation of a CentralManager that can emulate scanning and connecting to Bluetooth Low Energy devices.