Language

DevicePolicyManager.GetAutoTimeZoneEnabled(ComponentName) メソッド

定義

デバイスで自動タイム ゾーンが有効になっている場合は true を返します。

[Android.Runtime.Register("getAutoTimeZoneEnabled", "(Landroid/content/ComponentName;)Z", "GetGetAutoTimeZoneEnabled_Landroid_content_ComponentName_Handler", ApiSince=30)]
public virtual bool GetAutoTimeZoneEnabled(Android.Content.ComponentName? admin);
[<Android.Runtime.Register("getAutoTimeZoneEnabled", "(Landroid/content/ComponentName;)Z", "GetGetAutoTimeZoneEnabled_Landroid_content_ComponentName_Handler", ApiSince=30)>]
abstract member GetAutoTimeZoneEnabled : Android.Content.ComponentName -> bool
override this.GetAutoTimeZoneEnabled : Android.Content.ComponentName -> bool

パラメーター

admin
ComponentName

この要求が関連付けられている DeviceAdminReceiver 。 呼び出し元がデバイス管理者でない場合は Null。

返品

デバイスで自動タイム ゾーンが有効になっている場合は true。

属性

注釈

デバイスで自動タイム ゾーンが有効になっている場合は true を返します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象