FactoryResetProtectionPolicy.Builder.SetFactoryResetProtectionEnabled メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
出荷時の設定にリセットする保護を有効にするかどうかを設定します。
[Android.Runtime.Register("setFactoryResetProtectionEnabled", "(Z)Landroid/app/admin/FactoryResetProtectionPolicy$Builder;", "GetSetFactoryResetProtectionEnabled_ZHandler", ApiSince=30)]
public virtual Android.App.Admin.FactoryResetProtectionPolicy.Builder SetFactoryResetProtectionEnabled(bool factoryResetProtectionEnabled);
[<Android.Runtime.Register("setFactoryResetProtectionEnabled", "(Z)Landroid/app/admin/FactoryResetProtectionPolicy$Builder;", "GetSetFactoryResetProtectionEnabled_ZHandler", ApiSince=30)>]
abstract member SetFactoryResetProtectionEnabled : bool -> Android.App.Admin.FactoryResetProtectionPolicy.Builder
override this.SetFactoryResetProtectionEnabled : bool -> Android.App.Admin.FactoryResetProtectionPolicy.Builder
パラメーター
- factoryResetProtectionEnabled
- Boolean
ポリシーが有効かどうか。
返品
同じ Builder インスタンス。 この値は null にすることはできません。
- 属性
注釈
出荷時の設定にリセットする保護を有効にするかどうかを設定します。
無効にすると、デバイスが信頼されていない出荷時の設定にリセットされたときに、出荷時の設定にリセットされた保護が一緒に開始されることはありません。 これは、コンシューマーのロック解除フローと、setFactoryResetProtectionAccounts(List) による管理者アカウントのオーバーライドの両方に適用されます。 既定では、出荷時の設定にリセットする保護が有効になっています。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。