public interface UserInteraction
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCEL
Indicates a 'Cancel' answer.
|
static int |
NO
Indicates a 'No' answer.
|
static int |
YES
Indicates a 'Yes' answer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
askQuestion(String title,
String question,
String toggle)
Asks the user a question.
|
static final int YES
static final int NO
static final int CANCEL
int askQuestion(String title, String question, String toggle)
title - The title of the question.question - The question itself.toggle - The message for an eventual toggle box.UserInteraction.YES, UserInteraction.NO or
UserInteraction.CANCELCopyright © 2017. All rights reserved.