BluetoothScanFailedException

Thrown to indicate that scanning was terminated. It may be due to internal bluetooth problem or lack of bluetooth advertisement packets received for too long period of time. (This is a common case in Android N and above where long-running scans are converted into opportunistic scans) Try restarting bluetooth adapter and running scan again.

Constructors

Link copied to clipboard
constructor(message: String)
constructor(cause: Throwable)

Properties

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