DevicePolicyManager.IsUsingUnifiedPassword(ComponentName) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當受管理設定檔的設定檔擁有者呼叫時,若該設定檔與父用戶使用統一挑戰,則會返回 true。
[Android.Runtime.Register("isUsingUnifiedPassword", "(Landroid/content/ComponentName;)Z", "GetIsUsingUnifiedPassword_Landroid_content_ComponentName_Handler", ApiSince=28)]
public virtual bool IsUsingUnifiedPassword(Android.Content.ComponentName admin);
[<Android.Runtime.Register("isUsingUnifiedPassword", "(Landroid/content/ComponentName;)Z", "GetIsUsingUnifiedPassword_Landroid_content_ComponentName_Handler", ApiSince=28)>]
abstract member IsUsingUnifiedPassword : Android.Content.ComponentName -> bool
override this.IsUsingUnifiedPassword : Android.Content.ComponentName -> bool
參數
- admin
- ComponentName
這個請求就是和這個 DeviceAdminReceiver 問題有關的。
傳回
- 屬性
備註
當受管理設定檔的設定檔擁有者呼叫時,若該設定檔與父用戶使用統一挑戰,則會返回 true。
<強註></強:>此方法不在乎密碼品質,若設定檔為空密碼,則會作為獨立挑戰回傳 false。
Java 文件 android.app.admin.DevicePolicyManager.isUsingUnifiedPassword(android.content.ComponentName)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。