savePacket
abstract suspend fun savePacket(myNodeNum: Int, contactKey: String, packet: ERROR CLASS: Symbol not found for DataPacket, receivedTime: Long, read: Boolean = true, filtered: Boolean = false)(source)
Persists a packet in the database.
Parameters
myNodeNum
The local node number at the time of receipt.
contactKey
The identifier of the associated conversation.
packet
The DataPacket to save.
receivedTime
The timestamp (ms) the packet was received.
read
Whether the packet should be marked as already read.
filtered
Whether the packet was filtered by message rules.