DevicePolicyManager.IsManagedProfile(ComponentName) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果該使用者是另一使用者的受管理設定檔,請回傳。
[Android.Runtime.Register("isManagedProfile", "(Landroid/content/ComponentName;)Z", "GetIsManagedProfile_Landroid_content_ComponentName_Handler", ApiSince=24)]
public virtual bool IsManagedProfile(Android.Content.ComponentName admin);
[<Android.Runtime.Register("isManagedProfile", "(Landroid/content/ComponentName;)Z", "GetIsManagedProfile_Landroid_content_ComponentName_Handler", ApiSince=24)>]
abstract member IsManagedProfile : Android.Content.ComponentName -> bool
override this.IsManagedProfile : Android.Content.ComponentName -> bool
參數
- admin
- ComponentName
這個請求是與哪位帳號擁有者相關聯?
傳回
如果這個使用者是另一位使用者的受管理設定檔。
- 屬性
備註
如果該使用者是另一使用者的受管理設定檔,請回傳。 管理員可以成為受管理設定檔的設定檔擁有者,也可以成為受 #ACTION_PROVISION_MANAGED_PROFILE 管理使用者的擁有者,且 #createAndManageUser
Java 文件 android.app.admin.DevicePolicyManager.isManagedProfile(android.content.ComponentName)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。