android.content.DialogInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of androidstub Show documentation
Show all versions of androidstub Show documentation
provide android hidden api definition ,helper for android super framework development
package android.content;
public interface DialogInterface
{
public static interface OnCancelListener
{
public abstract void onCancel(android.content.DialogInterface dialog);
}
public static interface OnDismissListener
{
public abstract void onDismiss(android.content.DialogInterface dialog);
}
public static interface OnShowListener
{
public abstract void onShow(android.content.DialogInterface dialog);
}
public static interface OnClickListener
{
public abstract void onClick(android.content.DialogInterface dialog, int which);
}
public static interface OnMultiChoiceClickListener
{
public abstract void onClick(android.content.DialogInterface dialog, int which, boolean isChecked);
}
public static interface OnKeyListener
{
public abstract boolean onKey(android.content.DialogInterface dialog, int keyCode, android.view.KeyEvent event);
}
public abstract void cancel();
public abstract void dismiss();
public static final int BUTTON_POSITIVE = -1;
public static final int BUTTON_NEGATIVE = -2;
public static final int BUTTON_NEUTRAL = -3;
@java.lang.Deprecated()
public static final int BUTTON1 = -1;
@java.lang.Deprecated()
public static final int BUTTON2 = -2;
@java.lang.Deprecated()
public static final int BUTTON3 = -3;
}