public static enum NotificationClient.PushResult extends java.lang.Enum<NotificationClient.PushResult>
| Enum Constant and Description |
|---|
APP_IN_FOREGROUND
The SDK handled the message, but no notification was posted, since
the app was in the foreground.
|
NOT_HANDLED
The message wasn't for pinpoint.
|
NOTIFICATION_OPENED
The SDK handled the message that indicated the local campaign
notification was opened.
|
OPTED_OUT
The SDK handled the message, but no notification was posted, since
the app was opted out.
|
POSTED_NOTIFICATION
The SDK handled the message and posted a local notification.
|
SILENT
The SDK handled the message that indicated the local campaign
notification was opened.
|
| Modifier and Type | Method and Description |
|---|---|
static NotificationClient.PushResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationClient.PushResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationClient.PushResult NOT_HANDLED
public static final NotificationClient.PushResult POSTED_NOTIFICATION
public static final NotificationClient.PushResult APP_IN_FOREGROUND
public static final NotificationClient.PushResult OPTED_OUT
public static final NotificationClient.PushResult NOTIFICATION_OPENED
public static final NotificationClient.PushResult SILENT
public static NotificationClient.PushResult[] values()
for (NotificationClient.PushResult c : NotificationClient.PushResult.values()) System.out.println(c);
public static NotificationClient.PushResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.