public static class Dialog.QuestionDialog extends Dialog.IdDialog
Dialog.Callbacks, Dialog.ErrorMessage, Dialog.IdDialog, Dialog.LoginDialog, Dialog.ProgressDialog, Dialog.QuestionDialog| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_ERROR |
static int |
TYPE_NORMAL |
static int |
TYPE_WARNING |
mIdmText, mType, TYPE_LOGIN, TYPE_PROGRESS, TYPE_QUESTION| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAction1Text()
Get the text of the first button (optional, can be null)
|
java.lang.String |
getAction2Text()
Get the text of the second button (optional, can be null)
|
java.lang.String |
getCancelText()
Get the text of the cancel button
|
int |
getQuestionType()
|
void |
postAction(int action)
Post an answer
|
dismissgetContext, getText, getTitle, getType, setCallbacks, setContextpublic static final int TYPE_NORMAL
public static final int TYPE_WARNING
public static final int TYPE_ERROR
public int getQuestionType()
public java.lang.String getCancelText()
public java.lang.String getAction1Text()
public java.lang.String getAction2Text()
public void postAction(int action)
action - 1 for first action, 2 for second action