public static interface UtcTimingElementResolver.UtcTimingCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onTimestampError(UtcTimingElement utcTiming,
IOException e)
Invoked when the element was not successfully resolved.
|
void |
onTimestampResolved(UtcTimingElement utcTiming,
long elapsedRealtimeOffset)
Invoked when the element has been resolved.
|
void onTimestampResolved(UtcTimingElement utcTiming, long elapsedRealtimeOffset)
utcTiming - The element that was resolved.elapsedRealtimeOffset - The offset between the resolved UTC time and
SystemClock.elapsedRealtime() in milliseconds, specified as the UTC time minus
the local elapsed time.void onTimestampError(UtcTimingElement utcTiming, IOException e)
utcTiming - The element that was not resolved.e - The cause of the failure.