Reaction

data class Reaction(val replyId: Int, val user: User, val emoji: String, val timestamp: Long, val snr: Float?, val rssi: Int?, val hopsAway: Int, 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 sfppHash: ByteString? = null, val xeddsaSigned: Boolean = false, val ackProofStatus: Int = 0)(source)

Constructors

Link copied to clipboard
constructor(replyId: Int, user: User, emoji: String, timestamp: Long, snr: Float?, rssi: Int?, hopsAway: Int, packetId: Int = 0, status: MessageStatus = MessageStatus.UNKNOWN, routingError: Int = 0, relays: Int = 0, relayNode: Int? = null, to: String? = null, channel: Int = 0, sfppHash: ByteString? = null, xeddsaSigned: Boolean = false, ackProofStatus: Int = 0)

Properties

Link copied to clipboard

The radio's verdict on the ack that delivered this outgoing reaction (see MeshPacket.AckProofStatus).

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?

Received signal strength, or null when the radio did not report one (locally sent reactions included).

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

Signal-to-noise ratio in dB, or null when the packet carried no measurement (locally sent reactions included).

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

True when the radio verified this broadcast reaction's XEdDSA signature (MeshPacket.xeddsa_signed).