FactoryResetProtectionPolicy.Builder.SetFactoryResetProtectionAccounts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets which accounts can unlock a device that has been factory reset.
[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
Parameters
Returns
the same Builder instance. This value cannot be null.
- Attributes
Remarks
Sets which accounts can unlock a device that has been factory reset.
Once set, the consumer unlock flow will be disabled and only accounts in this list can unlock factory reset protection after untrusted factory reset.
It's up to the FRP management agent to interpret the String as account it supports. Please consult their relevant documentation for details.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.