Interfaces
Classes
ComputedInstant |
A locally computed Unix epoch time derived from an external time signal.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-10 UTC.
[null,null,["Last updated 2024-12-10 UTC."],[[["The `com.google.android.gms.time.trustedtime` package provides tools for accessing and handling trusted time signals on Android devices."],["It includes interfaces for listening to new time signals (`OnNewTimeSignalAvailableListener`) and representing time synchronization transactions (`TimeSignal`)."],["The `ComputedInstant` class represents a Unix epoch time derived from an external time signal."]]],["The core content describes the `com.google.android.gms.time.trustedtime` package, which manages time synchronization. Key components include: `OnNewTimeSignalAvailableListener`, an interface that notifies when a new `TimeSignal` is obtained; `TimeSignal`, representing a time synchronization transaction with an external clock; and `ComputedInstant`, a class for a locally calculated Unix epoch time based on the external `TimeSignal`. These parts work together to update a device to an accurate time.\n"]]