Share via


KeyguardManager.ExitKeyguardSecurely Method

Definition

Caution

deprecated

Exit the keyguard securely.

[Android.Runtime.Register("exitKeyguardSecurely", "(Landroid/app/KeyguardManager$OnKeyguardExitResult;)V", "GetExitKeyguardSecurely_Landroid_app_KeyguardManager_OnKeyguardExitResult_Handler")]
[Android.Runtime.RequiresPermission("android.permission.DISABLE_KEYGUARD")]
[System.Obsolete("deprecated")]
public virtual void ExitKeyguardSecurely (Android.App.KeyguardManager.IOnKeyguardExitResult? callback);
[<Android.Runtime.Register("exitKeyguardSecurely", "(Landroid/app/KeyguardManager$OnKeyguardExitResult;)V", "GetExitKeyguardSecurely_Landroid_app_KeyguardManager_OnKeyguardExitResult_Handler")>]
[<Android.Runtime.RequiresPermission("android.permission.DISABLE_KEYGUARD")>]
[<System.Obsolete("deprecated")>]
abstract member ExitKeyguardSecurely : Android.App.KeyguardManager.IOnKeyguardExitResult -> unit
override this.ExitKeyguardSecurely : Android.App.KeyguardManager.IOnKeyguardExitResult -> unit

Parameters

callback
KeyguardManager.IOnKeyguardExitResult

Lets you know whether the operation was successful and it is safe to launch anything that would normally be considered safe once the user has gotten past the keyguard.

Attributes

Remarks

Java documentation for android.app.KeyguardManager.exitKeyguardSecurely(android.app.OnKeyguardExitResult).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to