次の方法で共有


DevicePolicyManager.GetManagedProfileMaximumTimeOff(ComponentName) メソッド

定義

organization所有のマネージド プロファイルのプロファイル所有者によって呼び出され、プロファイルの無効化が許可される最大時間を取得します。

[Android.Runtime.Register("getManagedProfileMaximumTimeOff", "(Landroid/content/ComponentName;)J", "GetGetManagedProfileMaximumTimeOff_Landroid_content_ComponentName_Handler", ApiSince=30)]
public virtual long GetManagedProfileMaximumTimeOff (Android.Content.ComponentName admin);
[<Android.Runtime.Register("getManagedProfileMaximumTimeOff", "(Landroid/content/ComponentName;)J", "GetGetManagedProfileMaximumTimeOff_Landroid_content_ComponentName_Handler", ApiSince=30)>]
abstract member GetManagedProfileMaximumTimeOff : Android.Content.ComponentName -> int64
override this.GetManagedProfileMaximumTimeOff : Android.Content.ComponentName -> int64

パラメーター

admin
ComponentName

DeviceAdminReceiverこの要求が関連付けられているもの

戻り値

プロファイルをオフにできる最大時間 (ミリ秒単位)、または制限されていない場合は 0。

属性

注釈

organization所有のマネージド プロファイルのプロファイル所有者によって呼び出され、プロファイルの無効化が許可される最大時間を取得します。

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

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

適用対象