Package GPS

Interface ClockUpdateObserver

All Known Implementing Classes:
ProcessNmeaData, UpdateClockDialog

public interface ClockUpdateObserver
Get an asynchronous callback when the GPSClockUpdate has successfully updated the system clock
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clockUpdated(boolean success, long timeMillis, String message)
    Message sent when the clock has been updated.
    void
    newTime(long timeMillis)
    A new time has been unpacked in the GPS data.
  • Method Details

    • clockUpdated

      void clockUpdated(boolean success, long timeMillis, String message)
      Message sent when the clock has been updated.
      Parameters:
      success - true of false
      timeMillis - the time that was set
      message - any other message.
    • newTime

      void newTime(long timeMillis)
      A new time has been unpacked in the GPS data.
      Parameters:
      timeMillis -