語言

DevicePolicyManager.GetManagedProfileMaximumTimeOff(ComponentName) 方法

定義

由組織擁有的管理型設定檔擁有者呼叫,以取得該設定檔關閉時間的最大限度。

[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。

屬性

備註

由組織擁有的管理型設定檔擁有者呼叫,以取得該設定檔關閉時間的最大限度。

Java 文件 android.app.admin.DevicePolicyManager.getManagedProfileMaximumTimeOff(android.content.ComponentName)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於