@Override public void onTimestampResolved(UtcTimingElement utcTiming, long elapsedRealtimeOffset) { if (canceled) { return; } this.elapsedRealtimeOffset = elapsedRealtimeOffset; buildRenderers(); }
@Override public void onTimestampError(UtcTimingElement utcTiming, IOException e) { if (canceled) { return; } Log.e(TAG, "Failed to resolve UtcTiming element [" + utcTiming + "]", e); // Be optimistic and continue in the hope that the device clock is correct. buildRenderers(); }