public class DialogToggleInteraction extends Object implements UserInteraction
CANCEL, NO, YES| Constructor and Description |
|---|
DialogToggleInteraction()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
askQuestion(String title,
String question,
String toggleQuestion)
Asks the user a question.
|
public int askQuestion(String title, String question, String toggleQuestion)
UserInteractionaskQuestion in interface UserInteractiontitle - The title of the question.question - The question itself.toggleQuestion - The message for an eventual toggle box.UserInteraction.YES, UserInteraction.NO or
UserInteraction.CANCELCopyright © 2016. All rights reserved.