Location

constructor(latitude: Double, longitude: Double, elevation: Double? = null, accuracy: Double? = null, timestamp: Long? = null, tz: TimeZone? = null, locationName: String? = null)

Parameters

timestamp

epoch milliseconds when the location was last updated. On some platforms (e.g. Kotlin/JS) this can be significantly delayed (I think e.g. if the user is offline, etc.) compared to when the location flow is updated.

accuracy

the margin of error in latitude and longitude. A smaller number means the latitude and longitude are more accurate.