RangingPosition

public class RangingPosition extends 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

Inherited Method Summary

Constants

public static final int RSSI_MAX

Constant Value: -1

public static final int RSSI_MIN

Constant Value: -127

public static final int RSSI_UNKNOWN

Constant Value: -128

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.

public String toString ()