类 SatelliteInfoEvent

所有已实现的接口:
Serializable

public class SatelliteInfoEvent extends ProviderEvent
SatelliteInfoEvent contains the satellite information collected by SatelliteInfoProvider.
作者:
Kimmo Tuukkanen
另请参阅:
  • 构造器详细资料

    • SatelliteInfoEvent

      public SatelliteInfoEvent(Object source, GSASentence gsa, List<SatelliteInfo> info)
      Creates a new satellite info event. GSA and GSV satellite info assumed to be from same NMEA update sequence/cycle.
      参数:
      source - The object that sends the event.
      gsa - GSA sentence
      info - GSV satellite info
  • 方法详细资料

    • getSatelliteIds

      public String[] getSatelliteIds()
      Returns the list of GPS satellites used for GPS fix.
      返回:
      Satellite ids list as reported by GSA sentence.
    • getSatelliteInfo

      public List<SatelliteInfo> getSatelliteInfo()
      Returns the current detailed satellite information.
      返回:
      List of SatelliteInfo objects from latest GSV sequence.
    • getHorizontalPrecision

      public double getHorizontalPrecision()
      Returns the horizontal precision of GPS fix.
      返回:
      HDOP value as reported by GSA sentence.
    • getVerticalPrecision

      public double getVerticalPrecision()
      Returns the vertical precision of GPS fix.
      返回:
      VDOP as reported by GSA sentence.
    • getPositionPrecision

      public double getPositionPrecision()
      Returns the overall precision of GPS fix.
      返回:
      PDOP as reported by GSA sentence.
    • getGpsMode

      public FaaMode getGpsMode()
      Returns the GPS mode of operation as reported in GSA sentence.
      返回:
      FaaMode enum value
    • getGpsFixStatus

      public GpsFixStatus getGpsFixStatus()
      Returns the GPS fix status as reported by GSA sentence.
      返回:
      GpsFixStatus enum value