BleScanStartFailureReason

Known reasons a BLE discovery scan failed before Android registered the scanner.

Every reason here is an environment state — a permission not granted, a radio switched off, an OS quota — so BleScanStartException is an ExpectedCondition and is never reported as a crash.

Properties

Link copied to clipboard

the platform-level code or constant this maps to, used in log lines.

Link copied to clipboard

a human-readable explanation for log lines.

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

the stable, low-cardinality ExpectedCondition.expectedConditionLabel for rate tracking.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.