Added in API level 33

KeyguardLockedStateListener


@FunctionalInterface interface KeyguardLockedStateListener
android.app.KeyguardManager.KeyguardLockedStateListener

Listener for keyguard locked state changes.

Summary

Public methods
abstract Unit

Callback function that executes when the keyguard locked state changes.

Public methods

onKeyguardLockedStateChanged

Added in API level 33
abstract fun onKeyguardLockedStateChanged(isKeyguardLocked: Boolean): Unit

Callback function that executes when the keyguard locked state changes.