Position

@JsonClass(generateAdapter = true)
data class Position(@Json(name = "point") val point: Point, @Json(name = "accuracyMm") val accuracyMm: Int?, @Json(name = "altitudeMeters") val altitudeMeters: Double?, @Json(name = "source") val source: String?, @Json(name = "speedMetersPerSecond") val speedMetersPerSecond: Double?, @Json(name = "timestamp") val timestamp: ZonedDateTime)

Constructors

Link copied to clipboard
constructor(@Json(name = "point") point: Point, @Json(name = "accuracyMm") accuracyMm: Int?, @Json(name = "altitudeMeters") altitudeMeters: Double?, @Json(name = "source") source: String?, @Json(name = "speedMetersPerSecond") speedMetersPerSecond: Double?, @Json(name = "timestamp") timestamp: ZonedDateTime)

Properties

Link copied to clipboard

The accuracy of the position in millimeters.

Link copied to clipboard

The altitude of the position in meters.

Link copied to clipboard

The geographical point associated with the position.

Link copied to clipboard

The source of the position data.

Link copied to clipboard

Speed in meters per second.

Link copied to clipboard

The timestamp of the position data.