SpatialNodeSnapshot

constructor(id: Long, coordinate: LatLon, isConnectedRadio: Boolean = false, shortName: String = "", color: Int = 0, isOnline: Boolean = true, isFavorite: Boolean = false, viaMqtt: Boolean = false, hopsAway: Int = -1, signal: SpatialSignal? = null, isInfrastructure: Boolean = false, lastHeard: Int = 0)(source)

Parameters

color

the node's own color as ARGB, 0 for the map's default

hopsAway

hops from the connected radio, negative when unknown

signal

how the connected radio hears it, null when it has not heard it

isInfrastructure

a router, repeater or client base, which stands as a tower

lastHeard

when the connected radio last heard it, in seconds since 1970