public class

NavNotification

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.NavNotification

Summary

Nested Classes
class NavNotification.Builder  
Public Methods
double getAltitude(LengthUnit unit)
Returns the altitude.
double getAltitudeAccuracy(LengthUnit unit)
Returns the accuracy of the altitude value.
double getHeading(DegreeUnit unit)
Returns the heading.
double getHeadingAccuracy(DegreeUnit unit)
Returns the accuracy of the heading value.
long getLatitude()
Returns the latitude in microdegrees.
long getLongitude()
Returns the longitude in microdegrees.
NavModeType getNavMode()
Returns the type of the navigation mode which is the source of navigational data.
double getSemiMajor(LengthUnit unit)
Returns the length of the semi major axis.
double getSemiMajorOrientation(DegreeUnit unit)
Returns the orientation of the semi major axis.
double getSemiMinor(LengthUnit unit)
Returns the length of the semi minor axis.
double getSpeed(SpeedUnit unit)
Returns the speed.
double getSpeedAccuracy(SpeedUnit unit)
Returns the accuracy of the speed value.
long getTimestamp()
Returns the timestamp for this notification.
boolean isValid()
Returns whether the data contained in this notification is valid.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public double getAltitude (LengthUnit unit)

Returns the altitude.

Returns
  • altitude in the given units

public double getAltitudeAccuracy (LengthUnit unit)

Returns the accuracy of the altitude value.

Returns
  • accuracy of the altitude value in given unit

public double getHeading (DegreeUnit unit)

Returns the heading.

Returns
  • heading in 0.1 degrees

public double getHeadingAccuracy (DegreeUnit unit)

Returns the accuracy of the heading value.

Returns
  • heading accuracy in given unit

public long getLatitude ()

Returns the latitude in microdegrees.

Returns
  • latitude in microdegrees

public long getLongitude ()

Returns the longitude in microdegrees.

Returns
  • longitude in microdegrees

public NavModeType getNavMode ()

Returns the type of the navigation mode which is the source of navigational data.

Returns
  • navigation mode

public double getSemiMajor (LengthUnit unit)

Returns the length of the semi major axis.

Returns
  • length of the semi major axis in given unit

public double getSemiMajorOrientation (DegreeUnit unit)

Returns the orientation of the semi major axis.

Returns
  • orientation of the semi major axis in given unit

public double getSemiMinor (LengthUnit unit)

Returns the length of the semi minor axis.

Returns
  • length of the semi minor axis in given unit

public double getSpeed (SpeedUnit unit)

Returns the speed.

Returns
  • speed in given unit

public double getSpeedAccuracy (SpeedUnit unit)

Returns the accuracy of the speed value.

Returns
  • speed accuracy in given unit

public long getTimestamp ()

Returns the timestamp for this notification.

Returns
  • timestamp in milliseconds since 1970

public boolean isValid ()

Returns whether the data contained in this notification is valid.

Returns
  • whether the data contained in this notification is valid

public String toString ()