Compartilhar via


Settings.Global.AutoTime Field

Definition

Value to specify if the device's UTC system clock should be set automatically, e.

[Android.Runtime.Register("AUTO_TIME")]
public const string AutoTime;
[<Android.Runtime.Register("AUTO_TIME")>]
val mutable AutoTime : string

Field Value

Attributes

Remarks

Value to specify if the device's UTC system clock should be set automatically, e.g. using telephony signals like NITZ, or other sources like GNSS or NTP.

Prefer android.app.time.TimeManager API calls to determine the state of automatic time detection instead of directly observing this setting as it may be ignored by the time_detector service under various conditions.

1=yes, 0=no (manual)

Java documentation for android.provider.Settings.Global.AUTO_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to