com.qualcommlabs.usercontext.protocol
Enum ContextConnectorError

java.lang.Object
  extended by java.lang.Enum<ContextConnectorError>
      extended by com.qualcommlabs.usercontext.protocol.ContextConnectorError
All Implemented Interfaces:
Serializable, Comparable<ContextConnectorError>

public enum ContextConnectorError
extends Enum<ContextConnectorError>


Enum Constant Summary
APP_NOT_ENABLED
           
APPLICATION_DID_NOT_INITIATE_DOWNLOAD
           
AUTHENTICATION_FAILURE
           
CONTEXT_CONNECTOR_SERVICE_NOT_READY
           
DISABLED
           
ENABLE_REQUEST_CURRENTLY_IN_PROGRESS
           
ENABLE_REQUEST_REQUEST_CANCELLED_BY_USER
           
ENABLED
           
GIMBAL_NOT_ENABLED
           
INVALID_ARGUMENTS
           
INVALID_CONTENT_ID
           
INVALID_PLACE
           
INVALID_PLACE_ID
           
INVALID_REQUEST
           
NETWORK_ERROR
           
NO_EVENTS_AVAILABLE
           
NO_LOCATION_PERMISSION
           
NO_PERMISSION
           
NO_PROFILE_PERMISSION
           
NOT_REGISTERED_ERROR
           
PROFILE_NOT_GENERATED
           
SERVER_ERROR
           
TOO_FEW_POLYGON_POINTS
           
UNEXPECTED_CONTEXT_CONNECTOR_ERROR
           
UNKNOWN
           
UNKNOWN_SERVICE_REQUEST_TYPE_ERROR
           
 
Method Summary
 int getErrorCode()
           
 String getErrorMessage()
           
static ContextConnectorError valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContextConnectorError[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ENABLED

public static final ContextConnectorError ENABLED

UNKNOWN_SERVICE_REQUEST_TYPE_ERROR

public static final ContextConnectorError UNKNOWN_SERVICE_REQUEST_TYPE_ERROR

UNEXPECTED_CONTEXT_CONNECTOR_ERROR

public static final ContextConnectorError UNEXPECTED_CONTEXT_CONNECTOR_ERROR

CONTEXT_CONNECTOR_SERVICE_NOT_READY

public static final ContextConnectorError CONTEXT_CONNECTOR_SERVICE_NOT_READY

APPLICATION_DID_NOT_INITIATE_DOWNLOAD

public static final ContextConnectorError APPLICATION_DID_NOT_INITIATE_DOWNLOAD

AUTHENTICATION_FAILURE

public static final ContextConnectorError AUTHENTICATION_FAILURE

NO_LOCATION_PERMISSION

public static final ContextConnectorError NO_LOCATION_PERMISSION

NO_PROFILE_PERMISSION

public static final ContextConnectorError NO_PROFILE_PERMISSION

NO_EVENTS_AVAILABLE

public static final ContextConnectorError NO_EVENTS_AVAILABLE

INVALID_PLACE_ID

public static final ContextConnectorError INVALID_PLACE_ID

INVALID_REQUEST

public static final ContextConnectorError INVALID_REQUEST

NOT_REGISTERED_ERROR

public static final ContextConnectorError NOT_REGISTERED_ERROR

DISABLED

public static final ContextConnectorError DISABLED

SERVER_ERROR

public static final ContextConnectorError SERVER_ERROR

INVALID_PLACE

public static final ContextConnectorError INVALID_PLACE

NETWORK_ERROR

public static final ContextConnectorError NETWORK_ERROR

TOO_FEW_POLYGON_POINTS

public static final ContextConnectorError TOO_FEW_POLYGON_POINTS

PROFILE_NOT_GENERATED

public static final ContextConnectorError PROFILE_NOT_GENERATED

APP_NOT_ENABLED

public static final ContextConnectorError APP_NOT_ENABLED

NO_PERMISSION

public static final ContextConnectorError NO_PERMISSION

GIMBAL_NOT_ENABLED

public static final ContextConnectorError GIMBAL_NOT_ENABLED

INVALID_ARGUMENTS

public static final ContextConnectorError INVALID_ARGUMENTS

ENABLE_REQUEST_CURRENTLY_IN_PROGRESS

public static final ContextConnectorError ENABLE_REQUEST_CURRENTLY_IN_PROGRESS

ENABLE_REQUEST_REQUEST_CANCELLED_BY_USER

public static final ContextConnectorError ENABLE_REQUEST_REQUEST_CANCELLED_BY_USER

INVALID_CONTENT_ID

public static final ContextConnectorError INVALID_CONTENT_ID

UNKNOWN

public static final ContextConnectorError UNKNOWN
Method Detail

values

public static ContextConnectorError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ContextConnectorError c : ContextConnectorError.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ContextConnectorError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getErrorMessage

public String getErrorMessage()

getErrorCode

public int getErrorCode()


Copyright © 2014 Qualcomm Retail Solutions, Inc.. All Rights Reserved.