ScannedPeripheral

data class ScannedPeripheral(val peripheral: Peripheral, var latestScanResult: ScanResult, var highestRssi: Int)

A record containing information about a scanned peripheral.

Constructors

Link copied to clipboard
constructor(peripheral: Peripheral, latestScanResult: ScanResult, highestRssi: Int)
constructor(scanResult: ScanResult, previousHighestRssi: Int = -128)

Properties

Link copied to clipboard

The highest RSSI value recorded for this peripheral during the scanning session.

Link copied to clipboard
var latestScanResult: ScanResult

The latest scan result received from the peripheral.

Link copied to clipboard
val peripheral: Peripheral

The peripheral instance.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int