public static enum TrackingError.Type extends java.lang.Enum<TrackingError.Type>
Enum Constant and Description |
---|
INVALID_TRACKER_NAME
User provided a tracker name that doesn't match a created tracking resource.
|
MISSING_LOCATION_PERMISSIONS
User failed to obtain location permissions before starting tracker.
|
SERVICE_ERROR
An error came back from a service call.
|
TRACKER_ALREADY_STARTED
Attempted to start tracking after it was already started.
|
UNAUTHORIZED
User is unauthorized to access service.
|
Modifier and Type | Method and Description |
---|---|
static TrackingError.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrackingError.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackingError.Type INVALID_TRACKER_NAME
public static final TrackingError.Type TRACKER_ALREADY_STARTED
public static final TrackingError.Type MISSING_LOCATION_PERMISSIONS
public static final TrackingError.Type UNAUTHORIZED
public static final TrackingError.Type SERVICE_ERROR
public static TrackingError.Type[] values()
for (TrackingError.Type c : TrackingError.Type.values()) System.out.println(c);
public static TrackingError.Type 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.