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 を返します。

android.app.admin.DevicePolicyManager.getAutoTimeZoneEnabled(android.content.ComponentName)Java ドキュメント。

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

適用対象