public final class AlertCommand extends Command<AlertCommand.Button> implements android.os.Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
AlertCommand.AlertType
Indicates the type of Alert.
|
static class |
AlertCommand.Button
The Button object set on AlertCommands.
|
Command.Response, Command.Type
Modifier and Type | Field and Description |
---|---|
AlertCommand.AlertType |
alertType
Indicates the type of Alert: Rating Booster or In-App message.
|
java.util.List<AlertCommand.Button> |
buttons
Buttons to present on the alert dialog.
When using custom Rating or Message widgets which do their own button handling, associate these Button objects with those on the Custom widget and then pass the one corresponding to the selection when the widget has finished by calling complete(AlertCommand.Button) . |
static android.os.Parcelable.Creator<AlertCommand> |
CREATOR |
java.lang.String |
language
BCP 47 Language code.
|
java.lang.CharSequence |
message
Text to show in the alert message body.
|
java.lang.CharSequence |
title
Text to show in alert title.
|
commandId, data, parentCommand, requestedTag, tags, test, type
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
void |
writeToParcel(android.os.Parcel parcel,
int flags) |
complete, isComplete, valueOf
equals, hashCode
public final AlertCommand.AlertType alertType
public java.lang.String language
public java.lang.CharSequence title
public java.lang.CharSequence message
public final java.util.List<AlertCommand.Button> buttons
complete(AlertCommand.Button)
.public static final android.os.Parcelable.Creator<AlertCommand> CREATOR