共用方式為


PersistentDataBlockManager.IsFactoryResetProtectionActive Property

Definition

Returns true if FactoryResetProtection (FRP) is active, meaning the device rebooted and has not been able to deactivate FRP because the deactivation secrets were wiped by an untrusted factory reset.

public virtual bool IsFactoryResetProtectionActive { [Android.Runtime.Register("isFactoryResetProtectionActive", "()Z", "GetIsFactoryResetProtectionActiveHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("isFactoryResetProtectionActive", "()Z", "GetIsFactoryResetProtectionActiveHandler", ApiSince=35)>]
member this.IsFactoryResetProtectionActive : bool

Property Value

Attributes

Remarks

Returns true if FactoryResetProtection (FRP) is active, meaning the device rebooted and has not been able to deactivate FRP because the deactivation secrets were wiped by an untrusted factory reset.

Java documentation for android.service.persistentdata.PersistentDataBlockManager.isFactoryResetProtectionActive().

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.

Applies to