to top
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

? Examples
MockDialogInterface()
Public Methods

? Examples
void cancel()

? Examples
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

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.