Package com.microej.wear.services
Interface TimeService.ConfigurationListener
-
- Enclosing interface:
- TimeService
public static interface TimeService.ConfigurationListener
The listener interface for receiving notifications when the time configuration of the device has changed (date, time, time zone).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onTimeConfigurationChanged(long currentTime, java.lang.String zoneId, int zoneOffset)
Called when the time configuration of the device has changed (date, time, time zone).
-
-
-
Method Detail
-
onTimeConfigurationChanged
void onTimeConfigurationChanged(long currentTime, java.lang.String zoneId, int zoneOffset)
Called when the time configuration of the device has changed (date, time, time zone).- Parameters:
currentTime
- the new time (in milliseconds, measured from the Java Epoch)zoneId
- the new time zone IDzoneOffset
- the new offset from UTC
-
-