From 0692a5a05541d36c24ac6291e4a4f463936a5f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20M=2E=20aka=20Menion?= Date: Mon, 26 Aug 2024 12:02:57 +0200 Subject: [PATCH] - chg: minor rename in the Location.gnssDiffMessageAge parameter --- CHANGELOG.md | 4 ++-- gradle.properties | 4 ++-- .../src/main/java/locus/api/objects/extra/Location.kt | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b95f61b..723629c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [0.9.56] +## [0.9.57] ### Added - `GeoDataExtra.PAR_LOPOINT_REVIEWS` as container for LoPoint reviews -- `Location.gnssLastCorrectionTime` parameter +- `Location.gnssDiffMessageAge` parameter ## [0.9.55] ### Fixed diff --git a/gradle.properties b/gradle.properties index 64ee096..1b964c9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,8 +23,8 @@ GRADLE_NEXUS_STAGING = 0.30.0 LOCUS_LOGGER = 2.2 # Version -API_CODE = 103 -API_VERSION = 0.9.56 +API_CODE = 104 +API_VERSION = 0.9.57 # ANDROID SUPPORT LIBS # https://developer.android.com/topic/libraries/support-library/revisions.html diff --git a/locus-api-core/src/main/java/locus/api/objects/extra/Location.kt b/locus-api-core/src/main/java/locus/api/objects/extra/Location.kt index e61eae5..45cd569 100644 --- a/locus-api-core/src/main/java/locus/api/objects/extra/Location.kt +++ b/locus-api-core/src/main/java/locus/api/objects/extra/Location.kt @@ -515,11 +515,11 @@ class Location() : Storable() { set(value) = setDataLong(EXTRA_KEY_GNSS_OBSERVATION_TIME_END, value) /** - * UTC time of the last correction message used to create this location. + * Age of the RTK messages that created this location object (in ms). */ - var gnssLastCorrectionTime: Long? - get() = getDataLong(EXTRA_KEY_GNSS_LAST_CORRECTION_TIME) - set(value) = setDataLong(EXTRA_KEY_GNSS_LAST_CORRECTION_TIME, value) + var gnssDiffMessageAge: Long? + get() = getDataLong(EXTRA_KEY_GNSS_DIFF_MESSAGE_AGE) + set(value) = setDataLong(EXTRA_KEY_GNSS_DIFF_MESSAGE_AGE, value) /** * Offset of the hardware antenna phase center (in m). @@ -1002,7 +1002,7 @@ class Location() : Storable() { private const val EXTRA_KEY_GNSS_NTRIP_MOUNTPOINT = 57 private const val EXTRA_KEY_GNSS_OBSERVATION_TIME_START = 58 private const val EXTRA_KEY_GNSS_OBSERVATION_TIME_END = 59 - private const val EXTRA_KEY_GNSS_LAST_CORRECTION_TIME = 60 + private const val EXTRA_KEY_GNSS_DIFF_MESSAGE_AGE = 60 private const val EXTRA_KEY_EXTRA_ANTENNA_PHASE_CENTER_OFFSET = 70 private const val EXTRA_KEY_EXTRA_POLE_HEIGHT = 71