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 TypeMethodDescriptionvoidclockUpdated(boolean success, long timeMillis, String message) Message sent when the clock has been updated.voidnewTime(long timeMillis) A new time has been unpacked in the GPS data.
-
Method Details
-
clockUpdated
Message sent when the clock has been updated.- Parameters:
success- true of falsetimeMillis- the time that was setmessage- any other message.
-
newTime
void newTime(long timeMillis) A new time has been unpacked in the GPS data.- Parameters:
timeMillis-
-