KScanResult

data class KScanResult(val uuid: String, val major: Int, val minor: Int, val rssi: Double, val txPower: Int, val accuracy: Double?, val proximity: KScanProximity, val bluetoothName: String?, var rawBytes: Array<Byte> = arrayOf())

Constructors

Link copied to clipboard
fun KScanResult(uuid: String, major: Int, minor: Int, rssi: Double, txPower: Int, accuracy: Double?, proximity: KScanProximity, bluetoothName: String?, rawBytes: Array<Byte> = arrayOf())

Functions

Link copied to clipboard
fun getKey(): String

Returns an unique key that identifies this beacon

Properties

Link copied to clipboard

Distance estimate to the beacon in meters. On iOS, this equals to CLLocationAccuracy.

Link copied to clipboard

Bluetooth name of the devices. if detected by the OS from the advertisement data.

Link copied to clipboard
val major: Int

Beacon major (id2)

Link copied to clipboard
val minor: Int

Beacon minor (id3)

Link copied to clipboard

An estimate of how far the Beacon is away.

Link copied to clipboard

Raw bytes of beacon advertisement. This is available on Android only.

Link copied to clipboard

The measured signal strength of the Bluetooth packet.

Link copied to clipboard

The calibrated measured Tx power of the Beacon in RSSI This value is baked into an Beacon when it is manufactured, and it is transmitted with each packet.

Link copied to clipboard

Beacon UUID (id1)