Megosztás a következőn keresztül:


Settings.Global.AutoTimeZone Field

Definition

Value to specify if the device's time zone system property should be set automatically, e.

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

Field Value

Attributes

Remarks

Value to specify if the device's time zone system property should be set automatically, e.g. using telephony signals like MCC and NITZ, or other mechanisms like the location.

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

1=yes, 0=no (manual).

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

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