BluetoothUnsupportedException

The device has no Bluetooth LE hardware, so no scan or connection can ever succeed (e.g. an Android XR headset).

An ExpectedCondition: the hardware said no, which is not a defect anyone can fix.

Constructors

Link copied to clipboard
constructor(cause: Throwable)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
open override val expectedConditionLabel: String
Link copied to clipboard
expect open val message: String?

Functions

Link copied to clipboard

Inspects this Throwable and returns a BleExceptionInfo if it is a known Kable exception, or null if it is unrelated to the BLE layer.

Link copied to clipboard

Returns true if this throwable indicates the BLE session is irrecoverably broken and should be torn down (triggering reconnection), as opposed to a transient condition that can be retried.