ReactionEntity

data class ReactionEntity(val myNodeNum: Int = 0, val replyId: Int, val userId: String, val emoji: String, val timestamp: Long, val snr: Float? = null, val rssi: Int? = null, val hopsAway: Int = -1, val packetId: Int = 0, val status: MessageStatus = MessageStatus.UNKNOWN, val routingError: Int = 0, val relays: Int = 0, val relayNode: Int? = null, val to: String? = null, val channel: Int = 0, val sfpp_hash: ByteString? = null)(source)

Constructors

Link copied to clipboard
constructor(myNodeNum: Int = 0, replyId: Int, userId: String, emoji: String, timestamp: Long, snr: Float? = null, rssi: Int? = null, hopsAway: Int = -1, packetId: Int = 0, status: MessageStatus = MessageStatus.UNKNOWN, routingError: Int = 0, relays: Int = 0, relayNode: Int? = null, to: String? = null, channel: Int = 0, sfpp_hash: ByteString? = null)

Properties

Link copied to clipboard
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 relays: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rssi: Int?

Null when the radio reported no rssi. Rows written before schema 51 store 0 for both absent and 0 dBm.

Link copied to clipboard
val sfpp_hash: ByteString?
Link copied to clipboard
val snr: Float?

Null when the packet carried no snr. Rows written before schema 52 store 0 for both absent and 0 dB.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val to: String?
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun ReactionEntity.toReaction(getNode: suspend (userId: String?) -> Node?): Reaction