-
public class Dialog.QuestionDialog extends Dialog.IdDialog
Question dialogUsed to ask a blocking question
-
-
Field Summary
Fields Modifier and Type Field Description public final static int
TYPE_NORMAL
public final static int
TYPE_WARNING
public final static int
TYPE_ERROR
-
Method Summary
Modifier and Type Method Description int
getQuestionType()
Get the type (or severity) of the question dialogSee TYPE_NORMAL, TYPE_WARNING and TYPE_ERROR String
getCancelText()
Get the text of the cancel button String
getAction1Text()
Get the text of the first button (optional, can be null) String
getAction2Text()
Get the text of the second button (optional, can be null) void
postAction(int action)
Post an answer -
Methods inherited from class org.videolan.libvlc.Dialog.IdDialog
dismiss
-
Methods inherited from class org.videolan.libvlc.Dialog
getContext, getText, getTitle, getType, setCallbacks, setContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getQuestionType
@MainThread() int getQuestionType()
Get the type (or severity) of the question dialogSee TYPE_NORMAL, TYPE_WARNING and TYPE_ERROR
-
getCancelText
@MainThread() String getCancelText()
Get the text of the cancel button
-
getAction1Text
@MainThread() String getAction1Text()
Get the text of the first button (optional, can be null)
-
getAction2Text
@MainThread() String getAction2Text()
Get the text of the second button (optional, can be null)
-
postAction
@MainThread() void postAction(int action)
Post an answer
- Parameters:
action
- 1 for first action, 2 for second action
-
-
-
-