語言

FactoryResetProtectionPolicy.Builder.SetFactoryResetProtectionAccounts 方法

定義

設定哪些帳號可以解鎖已恢復出廠設定的裝置。

[Android.Runtime.Register("setFactoryResetProtectionAccounts", "(Ljava/util/List;)Landroid/app/admin/FactoryResetProtectionPolicy$Builder;", "GetSetFactoryResetProtectionAccounts_Ljava_util_List_Handler", ApiSince=30)]
public virtual Android.App.Admin.FactoryResetProtectionPolicy.Builder SetFactoryResetProtectionAccounts(System.Collections.Generic.IList<string> factoryResetProtectionAccounts);
[<Android.Runtime.Register("setFactoryResetProtectionAccounts", "(Ljava/util/List;)Landroid/app/admin/FactoryResetProtectionPolicy$Builder;", "GetSetFactoryResetProtectionAccounts_Ljava_util_List_Handler", ApiSince=30)>]
abstract member SetFactoryResetProtectionAccounts : System.Collections.Generic.IList<string> -> Android.App.Admin.FactoryResetProtectionPolicy.Builder
override this.SetFactoryResetProtectionAccounts : System.Collections.Generic.IList<string> -> Android.App.Admin.FactoryResetProtectionPolicy.Builder

參數

factoryResetProtectionAccounts
IList<String>

帳號列表。 這個值不可能為零值。

傳回

同一個建造者實例。 這個值不可能為零值。

屬性

備註

設定哪些帳號可以解鎖已恢復出廠設定的裝置。

一旦設定,消費者解鎖流程將被停用,且只有此清單中的帳號能在不受信任的出廠重置後解鎖出廠重置保護。

由 FRP 管理代理自行解讀字串為它所支援的帳號。 詳情請參閱相關文件。

Android 參考資料。android.app.admin.FactoryResetProtectionPolicy.Builder.setFactoryResetProtectionAccounts

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

適用於