MockEnvironment

open class MockEnvironment(var deviceName: String, val isBluetoothSupported: Boolean, val isBluetoothEnabled: Boolean)

A mock environment that can be used to test the behavior of the Central Manager.

Constructors

Link copied to clipboard
constructor(deviceName: String, isBluetoothSupported: Boolean, isBluetoothEnabled: Boolean)

Properties

Link copied to clipboard

The device local device name.

Link copied to clipboard

Whether Bluetooth is enabled.

Link copied to clipboard

Whether Bluetooth is supported on the device.