DevicePolicyManager.GetManagedProfileMaximumTimeOff(ComponentName) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
由組織擁有的管理型設定檔擁有者呼叫,以取得該設定檔關閉時間的最大限度。
[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。
- 屬性
備註
由組織擁有的管理型設定檔擁有者呼叫,以取得該設定檔關閉時間的最大限度。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。