Text And Location Content
@Serializable
Represents combined text and location content in the Satellite Message Protocol.
This class encapsulates both a text message and geographical coordinates to be transmitted via satellite, along with metadata about delivery confirmation requirements and the intended recipient.
Constructors
Link copied to clipboard
constructor(controlFlag: SmpContent.ControlFlag, 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.