Share via


ConfirmationPrompt.CancelPrompt Method

Definition

Cancels a prompt currently being displayed.

[Android.Runtime.Register("cancelPrompt", "()V", "GetCancelPromptHandler", ApiSince=28)]
public virtual void CancelPrompt ();
[<Android.Runtime.Register("cancelPrompt", "()V", "GetCancelPromptHandler", ApiSince=28)>]
abstract member CancelPrompt : unit -> unit
override this.CancelPrompt : unit -> unit
Attributes

Remarks

Cancels a prompt currently being displayed.

On success, the ConfirmationCallback#onCanceled onCanceled() method on the supplied callback object will be called asynchronously.

Java documentation for android.security.ConfirmationPrompt.cancelPrompt().

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