Android Guides | Samples

Android.Content.IDialogInterfaceOnCancelListener

Interface used to allow the creator of a dialog to run some code when the dialog is canceled.

See Also: IDialogInterfaceOnCancelListener

Syntax

[Android.Runtime.Register("android/content/DialogInterface$OnCancelListener", "", "Android.Content.IDialogInterfaceOnCancelListenerInvoker")]
public interface IDialogInterfaceOnCancelListener : IJavaObject, IDisposable

Remarks

Interface used to allow the creator of a dialog to run some code when the dialog is canceled.

This will only be called when the dialog is canceled, if the creator needs to know when it is dismissed in general, use IDialogInterfaceOnDismissListener.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Content.IDialogInterfaceOnCancelListener are listed below.

Public Methods

OnCancel(IDialogInterface)
This method will be invoked when the dialog is canceled.