DiscoveryMapNode

data class DiscoveryMapNode(val latitude: Double, val longitude: Double, val shortName: String?, val longName: String?, val neighborType: DiscoveryNeighborType, val snr: Float = 0.0f, val rssi: Int = 0, val messageCount: Int = 0, val sensorPacketCount: Int = 0)(source)

Platform-neutral representation of a discovered node for map rendering. Contains only the data needed to place and style a marker — no Room entities or platform types leak into the map provider API.

Constructors

Link copied to clipboard
constructor(latitude: Double, longitude: Double, shortName: String?, longName: String?, neighborType: DiscoveryNeighborType, snr: Float = 0.0f, rssi: Int = 0, messageCount: Int = 0, sensorPacketCount: Int = 0)

Properties

Link copied to clipboard

FR-011: Map icon classification. If environment packets > text messages, return true (sensor). Otherwise return false (social/chat).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rssi: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val snr: Float