接口 PositionSentence

所有超级接口:
Sentence
所有已知子接口:
GGASentence, GLLSentence, GNSSentence, RMCSentence, TLLSentence

public interface PositionSentence extends Sentence
Common interface for sentences that contain geographic position.
作者:
Kimmo Tuukkanen
  • 方法详细资料

    • getPosition

      Position getPosition()
      Gets the geographic position.
      返回:
      Position
      抛出:
      DataNotAvailableException - If any of the position related fields is empty.
      ParseException - If any of the position related fields contains unexpected value.
    • setPosition

      void setPosition(Position pos)
      Set the geographic position.
      参数:
      pos - Position to set