KeyguardManager.AddKeyguardLockedStateListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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