AI-generated Key Takeaways
-
RangingPosition represents the position of a device during ranging.
-
It includes constants for RSSI values: RSSI_MAX, RSSI_MIN, and RSSI_UNKNOWN.
-
Public methods allow retrieval of azimuth, distance, elapsed time, elevation, and RSSI in dBm.
-
The class inherits standard methods from
java.lang.Object.
Position of a device during ranging.
Constant Summary
| int | RSSI_MAX | |
| int | RSSI_MIN | |
| int | RSSI_UNKNOWN |
Public Method Summary
| RangingMeasurement |
getAzimuth()
Gets the azimuth angle in degrees of the ranging device, or null if not
available.
|
| RangingMeasurement |
getDistance()
Gets the distance in meters of the ranging device, or null if not available.
|
| long |
getElapsedRealtimeNanos()
Returns nanoseconds since boot when the ranging position was taken.
|
| RangingMeasurement |
getElevation()
Gets the elevation angle in degrees of the ranging device, or null if not
available.
|
| int |
getRssiDbm()
Returns the measured RSSI in dBm.
|
| String |
toString()
|
Inherited Method Summary
Constants
public static final int RSSI_MAX
public static final int RSSI_MIN
public static final int RSSI_UNKNOWN
Public Methods
public RangingMeasurement getAzimuth ()
Gets the azimuth angle in degrees of the ranging device, or null if not available. The range is (-90, 90].
public RangingMeasurement getDistance ()
Gets the distance in meters of the ranging device, or null if not available.
public long getElapsedRealtimeNanos ()
Returns nanoseconds since boot when the ranging position was taken.
public RangingMeasurement getElevation ()
Gets the elevation angle in degrees of the ranging device, or null if not available. The range is (-90, 90].
public int getRssiDbm ()
Returns the measured RSSI in dBm.