Added in API level 1
Deprecated in API level 24

MockDialogInterface


open class MockDialogInterface : 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

open Unit

Public constructors

MockDialogInterface

MockDialogInterface()

Public methods

cancel

Added in API level 1
open fun cancel(): Unit

Deprecated: Deprecated in Java.

dismiss

Added in API level 1
open fun dismiss(): Unit

Deprecated: Deprecated in Java.