语言

SystemClock.CurrentGnssTimeClock 方法

定义

返回从 Clock 1970 年 1 月 1 日起的 00:00:00。

[Android.Runtime.Register("currentGnssTimeClock", "()Ljava/time/Clock;", "", ApiSince=29)]
public static Java.Time.Clock CurrentGnssTimeClock();
[<Android.Runtime.Register("currentGnssTimeClock", "()Ljava/time/Clock;", "", ApiSince=29)>]
static member CurrentGnssTimeClock : unit -> Java.Time.Clock

返回

请求的值。

属性

注解

返回一个 Clock 从 1970 年 1 月 1 日 00:00:00.0 UTC 开始,使用设备的位置提供程序同步。

Java文档android.os.SystemClock.currentGnssTimeClock()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于