Check In Content
@Serializable
Represents check-in message content in the Satellite Message Protocol.
This class encapsulates a check-in message that includes both text and location data to be transmitted via satellite. Check-in messages are typically used to provide status updates at locations with a pre-defined message.
Constructors
Link copied to clipboard
constructor(controlFlag: SmpContent.ControlFlag = ControlFlag.READ_RECEIPT_REQUIRED, partnerId: Long, textMessage: String, latitude: Double, longitude: Double)
Properties
Functions
Link copied to clipboard
fun createSmpHeader(messageCounter: Int, eventTimestamp: SmpTimestamp, version: Int = 1, ackFlag: Boolean = false): SmpHeader
Creates an SMP header for this content.