MPIPosition
public struct MPIPosition : Codable, Equatable
MPIPosition
represents the geolocation of an object at a specific point in time
-
An optional timestamp of the current position
Declaration
Swift
public let timestamp: Double?
-
An optional
MPICoordinates
of the current positionNote
contains latitude, longitude, accuracy, floor levelDeclaration
Swift
public let coords: MPICoordinates?
-
Type of position
Declaration
Swift
public let type: String
-
An Optional annotation of the position
Declaration
Swift
public let annotation: String?
-
A description string for the
MPIPosition
by serializing theMPIPosition
object itselfDeclaration
Swift
public var description: String { get }
-
Construct an
MPIPosition
object with the given properties.Declaration
Swift
public init(timestamp: Double? = 0.0, coords: MPICoordinates? = nil, type: String = "", annotation: String? = nil)