Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
Classes
Ticks |
A value type for tracking elapsed time without committing to specific epoch baseline value or relationship to physical seconds, specifically SI seconds.
|
TrustedTime |
Entry point for developers to access the Trusted Time APIs.
|
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-10 UTC."],[[["\u003cp\u003eThe com.google.android.gms.time package provides interfaces and classes for managing time-related operations in Android applications.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTicker\u003c/code\u003e is an interface for tracking elapsed time, and \u003ccode\u003eTrustedTimeClient\u003c/code\u003e offers access to accurate time signals via Google Play Services.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTicks\u003c/code\u003e is a class for tracking elapsed time without specific units, while \u003ccode\u003eTrustedTime\u003c/code\u003e serves as the main entry point for interacting with Trusted Time APIs.\u003c/p\u003e\n"]]],["The content describes the `com.google.android.gms.time` package, which offers tools for time management. It defines four key components: `Ticker`, an abstraction for tracking elapsed time; `TrustedTimeClient`, which accesses Google Play Services' time service; `Ticks`, a value type for elapsed time without needing a baseline; and `TrustedTime`, the entry point for accessing these time-related APIs. These allow developers to accurately track and utilize time within their applications.\n"],null,["# com.google.android.gms.time\n===========================\n\n[Kotlin](/android/reference/kotlin/com/google/android/gms/time/package-summary \"View this page in Kotlin\") \\|Java \n\nInterfaces\n----------\n\n|---------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Ticker](/android/reference/com/google/android/gms/time/Ticker) | [Ticker](/android/reference/com/google/android/gms/time/Ticker) is an abstraction for a clock that can be used to track elapsed time. |\n| [TrustedTimeClient](/android/reference/com/google/android/gms/time/TrustedTimeClient) | [TrustedTimeClient](/android/reference/com/google/android/gms/time/TrustedTimeClient) provides access to time signals backed by Google Play Services' accurate time keeping service. |\n\nClasses\n-------\n\n|---------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Ticks](/android/reference/com/google/android/gms/time/Ticks) | A value type for tracking elapsed time without committing to specific epoch baseline value or relationship to physical seconds, specifically SI seconds. |\n| [TrustedTime](/android/reference/com/google/android/gms/time/TrustedTime) | Entry point for developers to access the Trusted Time APIs. |"]]