TrackingContent

@Serializable
sealed class TrackingContent : OtherContent

Represents location tracking-related content in the Satellite Message Protocol.

This sealed class hierarchy provides specialized content types for initiating, updating, and managing location tracking sessions via satellite. It extends the OtherContent base class with tracking-specific functionality.

Inheritors

Types

Link copied to clipboard
@Serializable
data class Start(val durationInSeconds: Int, val frequencyInSeconds: Int, val trackRecord: TrackRecord) : TrackingContent

Represents a request to start a tracking session.

Link copied to clipboard
@Serializable
data class Track(val trackRecords: List<TrackRecord>, val trackingEnded: Boolean = false) : TrackingContent

Represents location tracking updates in an active tracking session.

Properties

Link copied to clipboard

The type of content represented by this instance.

Link copied to clipboard

The specific subtype of tracking content being represented.

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.