Added in API level 33

KeyguardManager.KeyguardLockedStateListener


public static interface KeyguardManager.KeyguardLockedStateListener

android.app.KeyguardManager.KeyguardLockedStateListener


Listener for keyguard locked state changes.

Summary

Public methods

abstract void onKeyguardLockedStateChanged(boolean isKeyguardLocked)

Callback function that executes when the keyguard locked state changes.

Public methods

onKeyguardLockedStateChanged

Added in API level 33
public abstract void onKeyguardLockedStateChanged (boolean isKeyguardLocked)

Callback function that executes when the keyguard locked state changes.

Parameters
isKeyguardLocked boolean