MockDialogInterface
open classMockDialogInterface: DialogInterface
| kotlin.Any | |
| ↳ | android.test.mock.MockDialogInterface |
A mock android.content.DialogInterface class. All methods are non-functional and throw java.lang.UnsupportedOperationException. Override it to provide the operations that you need.
Summary
| Inherited constants | |
|---|---|
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| open Unit |
cancel()Cancels the dialog, invoking the |
| open Unit |
dismiss()Dismisses the dialog, invoking the |
Public constructors
MockDialogInterface
MockDialogInterface()
Public methods
cancel
Added in API level 1
open funcancel(): Unit
Deprecated: Deprecated in Java.
Cancels the dialog, invoking the OnCancelListener.
The OnDismissListener may also be called if cancellation dismisses the dialog.
dismiss
Added in API level 1
open fundismiss(): Unit
Deprecated: Deprecated in Java.
Dismisses the dialog, invoking the OnDismissListener.