Start

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

Represents a request to start a tracking session.

This content type initiates a new location tracking session with specific parameters for duration and update frequency, along with an initial location.

Constructors

Link copied to clipboard
constructor(durationInSeconds: Int, frequencyInSeconds: Int, trackRecord: TrackRecord)

Properties

Link copied to clipboard

The type of content represented by this instance.

Link copied to clipboard

The total duration of the tracking session in seconds.

Link copied to clipboard

How often location updates should be sent in seconds.

Link copied to clipboard

The specific subtype of tracking content being represented.

Link copied to clipboard

The initial location record for the tracking session.

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.