Location Content
@Serializable
Represents location-only content in the Satellite Message Protocol.
This class encapsulates geographical coordinates to be transmitted via satellite, along with metadata about delivery confirmation requirements and the intended recipient. Unlike TextAndLocationContent, this content type contains only location data without any accompanying text message.
Constructors
Link copied to clipboard
constructor(controlFlag: SmpContent.ControlFlag, partnerId: Long, 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.