加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090218092415/http://developer.android.com:80/reference/android/content/DialogInterface.html
public interface

DialogInterface

android.content.DialogInterface
Known Indirect Subclasses

Summary

Nested Classes
public interface DialogInterface.OnCancelListener Interface used to allow the creator of a dialog to run some code when the dialog is canceled. 
public interface DialogInterface.OnClickListener Interface used to allow the creator of a dialog to run some code when an item on the dialog is clicked.. 
public interface DialogInterface.OnDismissListener Interface used to allow the creator of a dialog to run some code when the dialog is dismissed. 
public interface DialogInterface.OnKeyListener Interface definition for a callback to be invoked when a key event is dispatched to this dialog. 
public interface DialogInterface.OnMultiChoiceClickListener Interface used to allow the creator of a dialog to run some code when an item in a multi-choice dialog is clicked. 
Constants
int BUTTON1
int BUTTON2
int BUTTON3
Public Methods
abstract void cancel()
abstract void dismiss()

Constants

public static final int BUTTON1

Constant Value: -1 (0xffffffff)

public static final int BUTTON2

Constant Value: -2 (0xfffffffe)

public static final int BUTTON3

Constant Value: -3 (0xfffffffd)

Public Methods

public abstract void cancel ()

public abstract void dismiss ()