summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Shinru Han <shinruhan@google.com> 2021-03-26 09:59:31 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-03-26 09:59:31 +0000
commitc247fad24e58f35a5c4e39717f48b95ff2632f1b (patch)
tree9fdb260415dc498d2a3c2587b27f35b146acff9a
parenta62a68dba70191dae68b3bd8866ab6d54fca5d8d (diff)
parent25474af18ce40d229e58f5221d3bf2b6da89a79e (diff)
Merge "Add docs to SatellitePvt class" into sc-dev
-rw-r--r--location/java/android/location/SatellitePvt.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/location/java/android/location/SatellitePvt.java b/location/java/android/location/SatellitePvt.java
index 144fa1341bd6..27c7eda1dae3 100644
--- a/location/java/android/location/SatellitePvt.java
+++ b/location/java/android/location/SatellitePvt.java
@@ -25,8 +25,9 @@ import android.os.Parcelable;
/**
* A class that contains GNSS satellite position, velocity and time information at the
- * signal transmission time {@link GnssMeasurement#getReceivedSvTimeNanos()}.
+ * same signal transmission time {@link GnssMeasurement#getReceivedSvTimeNanos()}.
*
+ * <p>The position and velocity must be in ECEF coordinates.
* @hide
*/
@SystemApi
@@ -39,6 +40,9 @@ public final class SatellitePvt implements Parcelable {
/**
* Class containing estimates of the satellite position fields in ECEF coordinate frame.
+ *
+ * <p>The satellite position must be defined at the time of transmission of the signal
+ * receivedSvTimeNs.
*/
public static final class PositionEcef implements Parcelable {
private final double mXMeters;
@@ -133,6 +137,9 @@ public final class SatellitePvt implements Parcelable {
/**
* Class containing estimates of the satellite velocity fields in the ECEF coordinate frame.
+ *
+ * <p>The satellite velocity must be defined at the time of transmission of the signal
+ * receivedSvTimeNs.
*/
public static final class VelocityEcef implements Parcelable {
private final double mXMetersPerSecond;