public static enum NotificationClient.CampaignPushResult extends Enum<NotificationClient.CampaignPushResult>
| 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.CampaignPushResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationClient.CampaignPushResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationClient.CampaignPushResult NOT_HANDLED
public static final NotificationClient.CampaignPushResult POSTED_NOTIFICATION
public static final NotificationClient.CampaignPushResult APP_IN_FOREGROUND
public static final NotificationClient.CampaignPushResult OPTED_OUT
public static final NotificationClient.CampaignPushResult NOTIFICATION_OPENED
public static final NotificationClient.CampaignPushResult SILENT
public static NotificationClient.CampaignPushResult[] values()
for (NotificationClient.CampaignPushResult c : NotificationClient.CampaignPushResult.values()) System.out.println(c);
public static NotificationClient.CampaignPushResult valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.