Environment

interface Environment

A base interface for local environment.

The environment is used to capabilities of the local device, native or mock.

Properties

Link copied to clipboard

Whether the device provides API to remove bond information from local host.

Link copied to clipboard

Whether the device automatically requests MTU upon connection.

Link copied to clipboard
abstract val deviceName: String

The name of the local device.

Link copied to clipboard

Whether Bluetooth is enabled.

Link copied to clipboard

Whether Bluetooth is supported.

Link copied to clipboard

Whether the device can scan for Bluetooth LE devices advertising on LE Coded PHY as Primary PHY.

Link copied to clipboard
abstract val isSystem: Boolean

Whether the app is running in a privileged environment and has access to restricted features.

Link copied to clipboard

Whether the device provides information whether a scanned Bluetooth LE advertising packet is connectable.

Link copied to clipboard

Whether the device reports connection parameters.