Partager via


KeyguardManager.AddKeyguardLockedStateListener Method

Definition

[Android.Runtime.Register("addKeyguardLockedStateListener", "(Ljava/util/concurrent/Executor;Landroid/app/KeyguardManager$KeyguardLockedStateListener;)V", "GetAddKeyguardLockedStateListener_Ljava_util_concurrent_Executor_Landroid_app_KeyguardManager_KeyguardLockedStateListener_Handler", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE")]
public virtual void AddKeyguardLockedStateListener (Java.Util.Concurrent.IExecutor executor, Android.App.KeyguardManager.IKeyguardLockedStateListener listener);
[<Android.Runtime.Register("addKeyguardLockedStateListener", "(Ljava/util/concurrent/Executor;Landroid/app/KeyguardManager$KeyguardLockedStateListener;)V", "GetAddKeyguardLockedStateListener_Ljava_util_concurrent_Executor_Landroid_app_KeyguardManager_KeyguardLockedStateListener_Handler", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE")>]
abstract member AddKeyguardLockedStateListener : Java.Util.Concurrent.IExecutor * Android.App.KeyguardManager.IKeyguardLockedStateListener -> unit
override this.AddKeyguardLockedStateListener : Java.Util.Concurrent.IExecutor * Android.App.KeyguardManager.IKeyguardLockedStateListener -> unit

Parameters

executor
IExecutor
Attributes

Applies to