summaryrefslogtreecommitdiff
path: root/location/java
diff options
context:
space:
mode:
author Shinru Han <shinruhan@google.com> 2021-03-25 12:32:45 +0800
committer Shinru Han <shinruhan@google.com> 2021-03-25 14:46:52 +0800
commit25474af18ce40d229e58f5221d3bf2b6da89a79e (patch)
tree53e97875a6c4b2dccb5c944e0b76b2531c439f44 /location/java
parent143600af4e54a5cdb5c6d12c04ba004b9814889f (diff)
Add docs to SatellitePvt class
Bug: 183670215 Test: comment only Change-Id: Ie9cef6f22d8a9b020ce081ca18e02f43eb259188
Diffstat (limited to 'location/java')
-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;