Macos

object Macos

macOS CoreBluetooth helpers for the kmp-ble-macos JVM backend.

Properties

Link copied to clipboard
const val BACKEND_ID: String

com.atruedev.kmpble.backend.BleBackend.id of this backend, for -Dkmpble.backend=macos.

Link copied to clipboard

Scan / connect error code: the Bluetooth adapter is powered off.

Link copied to clipboard

The native library could not be loaded.

Link copied to clipboard

The user or MDM denied Bluetooth access for this process (TCC).

Link copied to clipboard

This Mac has no Bluetooth LE controller.

Link copied to clipboard

The app bundle's Info.plist lacks NSBluetoothAlwaysUsageDescription.

Link copied to clipboard

Optional absolute path of a libkmpble_macos.dylib to load instead of the bundled one.

Link copied to clipboard

Set to false to skip the pre-flight check that refuses to start CoreBluetooth when the app macOS holds responsible for this process has no NSBluetoothAlwaysUsageDescription.

Functions

Link copied to clipboard

True on macOS running on Apple silicon, the only architecture this backend ships for.

Link copied to clipboard

True when the jar carries the native CoreBluetooth shim (it is built on macOS hosts only).