Language

AdvancedProtectionManager.ICallback.OnAdvancedProtectionChanged Method

Definition

Called when advanced protection state changes

[Android.Runtime.Register("onAdvancedProtectionChanged", "(Z)V", "GetOnAdvancedProtectionChanged_ZHandler:Android.Security.AdvancedProtection.AdvancedProtectionManager/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)]
public void OnAdvancedProtectionChanged(bool enabled);
[<Android.Runtime.Register("onAdvancedProtectionChanged", "(Z)V", "GetOnAdvancedProtectionChanged_ZHandler:Android.Security.AdvancedProtection.AdvancedProtectionManager/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)>]
abstract member OnAdvancedProtectionChanged : bool -> unit

Parameters

enabled
Boolean

the new state

Attributes

Remarks

Called when advanced protection state changes

Android reference for android.security.advancedprotection.AdvancedProtectionManager.Callback.onAdvancedProtectionChanged.

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