BleScanStartException

A discovery scan-start failure. No advertisements can be delivered until a future scan starts successfully.

This is an ExpectedCondition: every BleScanStartFailureReason describes the environment refusing the scan, not a defect in the app, so callers should surface it to the user and log it at warn level rather than reporting it.

Constructors

Link copied to clipboard
constructor(reason: BleScanStartFailureReason, cause: Throwable, retryAfter: Duration? = null)

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?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Classifies why a BLE connection attempt failed, for the connection card. Walks the cause chain and keeps the most specific kind found, so a dropped link whose cause was a refused subscription reads as pairing rather than a drop.