MockEnvironment

open class MockEnvironment(var deviceName: String, val isBluetoothSupported: Boolean, val isBluetoothEnabled: Boolean, val reportsConnectionParameters: 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, reportsConnectionParameters: 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.

Link copied to clipboard

Whether the environment reports connection parameters.