DevicePolicyManager.GetAutoTimeEnabled(ComponentName) メソッド

定義

デバイスで自動時刻が有効になっている場合は true を返します。

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

パラメーター

admin
ComponentName

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

戻り値

デバイスで自動時刻が有効になっている場合は true。

属性

注釈

デバイスで自動時刻が有効になっている場合は true を返します。

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

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

適用対象