MPIPosition

data class MPIPosition(timestamp: Double?, coords: MPIPosition.MPICoordinates?, type: String, annotation: String?)

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

Constructors

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

Types

MPICoordinates
Link copied to clipboard
data class MPICoordinates(latitude: Double, longitude: Double, accuracy: Double, floorLevel: Int?)
This struct represents specfic coordinates/location of an object

Functions

component1
Link copied to clipboard
operator fun component1(): Double?
component2
Link copied to clipboard
operator fun component2(): MPIPosition.MPICoordinates?
component3
Link copied to clipboard
operator fun component3(): String
component4
Link copied to clipboard
operator fun component4(): String?
copy
Link copied to clipboard
fun copy(timestamp: Double? = 0.0, coords: MPIPosition.MPICoordinates? = null, type: String = "", annotation: String? = null): MPIPosition
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
convert MPIPosition to string

Properties

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