public static enum PreDriveNotification.NotificationSource extends Enum<PreDriveNotification.NotificationSource>
PreDriveNotification.NotificationSource indicates the source of the PreDriveNotification.| Enum Constant and Description |
|---|
CALENDAR_TRIP
PreDriveNotification originated from a CalendarTrip. |
LEARNED_TRIP
PreDriveNotification originated from a LearnedTrip. |
SAVED_LOCATION
PreDriveNotification originated from a SavedLocation. |
SAVED_TRIP
PreDriveNotification originated from a SavedTrip. |
UNKNOWN
PreDriveNotification originated from an unknown source. |
| Modifier and Type | Method and Description |
|---|---|
static PreDriveNotification.NotificationSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreDriveNotification.NotificationSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreDriveNotification.NotificationSource SAVED_TRIP
PreDriveNotification originated from a SavedTrip.public static final PreDriveNotification.NotificationSource CALENDAR_TRIP
PreDriveNotification originated from a CalendarTrip.public static final PreDriveNotification.NotificationSource LEARNED_TRIP
PreDriveNotification originated from a LearnedTrip.public static final PreDriveNotification.NotificationSource SAVED_LOCATION
PreDriveNotification originated from a SavedLocation.public static final PreDriveNotification.NotificationSource UNKNOWN
PreDriveNotification originated from an unknown source.public static PreDriveNotification.NotificationSource[] values()
for (PreDriveNotification.NotificationSource c : PreDriveNotification.NotificationSource.values()) System.out.println(c);
public static PreDriveNotification.NotificationSource 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 © 2013-2016 INRIX, Inc. All Rights Reserved.