AdvancedProtectionManager.Callback


public static interface AdvancedProtectionManager.Callback

android.security.advancedprotection.AdvancedProtectionManager.Callback


A callback class for monitoring changes to Advanced Protection state

To register a callback, implement this interface, and register it with AdvancedProtectionManager.registerAdvancedProtectionCallback(Executor, Callback). Methods are called when the state changes, as well as once on initial registration.

Summary

Public methods

abstract void onAdvancedProtectionChanged(boolean enabled)

Called when advanced protection state changes

Public methods

onAdvancedProtectionChanged

public abstract void onAdvancedProtectionChanged (boolean enabled)

Called when advanced protection state changes

Parameters
enabled boolean: the new state