Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

MockDialogInterface

extends Object
implements DialogInterface
java.lang.Object
   ↳ android.test.mock.MockDialogInterface

Class Overview

A mock DialogInterface class. All methods are non-functional and throw UnsupportedOperationException . Override it to provide the operations that you need.

Summary

[Expand]
Inherited Constants
From interface android.content.DialogInterface
Public Constructors
MockDialogInterface ()
Public Methods
void cancel ()
void dismiss ()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.content.DialogInterface

Public Constructors

public MockDialogInterface ()

Added in API level 1

Public Methods

public void cancel ()

Added in API level 1

public void dismiss ()

Added in API level 1