Position

constructor(position: <Error class: unknown class>, defaultTime: Int = currentTime())

Create our model object from a protobuf. If time is unspecified in the protobuf, the provided default time will be used.


constructor(latitude: Double, longitude: Double, altitude: Int, time: Int = currentTime(), satellitesInView: Int = 0, groundSpeed: Int = 0, groundTrack: Int = 0, precisionBits: Int = 0)