MPIPosition

@Serializable
data class MPIPosition(    val timestamp: Double? = 0.0,     val coords: MPIPosition.MPICoordinates? = null,     val type: String = "",     val annotation: String? = null)

MPIPosition represents the geolocation of an object at a specific point in time

Constructors

Link copied to clipboard
fun MPIPosition(    timestamp: Double? = 0.0,     coords: MPIPosition.MPICoordinates? = null,     type: String = "",     annotation: String? = null)

Types

Link copied to clipboard
@Serializable
data class MPICoordinates(    val latitude: Double,     val longitude: Double,     val accuracy: Double,     val floorLevel: Int?)

This struct represents specific coordinates/location of an object

Functions

Link copied to clipboard
open override fun toString(): String

convert MPIPosition to string

Properties

Link copied to clipboard
val annotation: String? = null
Link copied to clipboard
val coords: MPIPosition.MPICoordinates? = null
Link copied to clipboard
val timestamp: Double? = 0.0
Link copied to clipboard
val type: String