Share via


AdvancedProtectionManager.IsAdvancedProtectionEnabled Property

Definition

Checks if advanced protection is enabled on the device.

public bool IsAdvancedProtectionEnabled { [Android.Runtime.Register("isAdvancedProtectionEnabled", "()Z", "", ApiSince=36)] [Android.Runtime.RequiresPermission("android.permission.QUERY_ADVANCED_PROTECTION_MODE")] get; }
[<get: Android.Runtime.Register("isAdvancedProtectionEnabled", "()Z", "", ApiSince=36)>]
[<get: Android.Runtime.RequiresPermission("android.permission.QUERY_ADVANCED_PROTECTION_MODE")>]
member this.IsAdvancedProtectionEnabled : bool

Property Value

true if advanced protection is enabled, false otherwise.

Attributes

Remarks

Checks if advanced protection is enabled on the device.

Java documentation for android.security.advancedprotection.AdvancedProtectionManager.isAdvancedProtectionEnabled().

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