Class NotificationSDKClientErrorCodes
- java.lang.Object
-
- com.vasco.digipass.sdk.utils.notification.client.constants.NotificationSDKClientErrorCodes
-
public class NotificationSDKClientErrorCodes extends java.lang.Object
This class provides the error codes managed by the Notification SDK.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONTEXT_NULL
The context parameter is null.static int
FCM_GENERATE_TOKEN_ERROR
There is an error if FCM is not able to generate a token.static int
FCM_GET_INSTANCE_ERROR
There is an error if FCM is not able to generate an instance.static int
GOOGLEPLAYSERVICES_NOT_AVAILABLE
The Google Play Services are not available.static int
INTERNAL_ERROR
An internal error has occurred.static int
NETWORK_NOT_AVAILABLE
The network is not available.static int
NOTIFICATION_INVALID
The notification is invalid.static int
NOTIFICATION_NULL
The notification is null.static int
PERMISSION_NOT_GRANTED
Required permission not granted, ask the user forandroid.Manifest.permission.POST_NOTIFICATIONS
static int
PROPERTIES_FILE_COLOR_CODE_ERROR
There is an error parsing notificationIconBackgroundColorLollipop provided in properties file.static int
PROPERTIES_FILE_ERROR
There is an error with the properties file.static int
PROPERTIES_FILE_IMAGE_SUFFIX_ERROR
There is an error with the image suffix in properties file.static int
PROPERTIES_FILE_MIME_TYPE_ERROR
There is an error with the notificationMIMEType in properties file.static int
PROPERTIES_FILE_NOTIFICATION_ICON_NAME_LOLLIPOP_NOT_FOUND
The notificationIconNameLollipop provided in the properties file is not found.static int
PROPERTIES_FILE_NOTIFICATION_ICON_NAME_NOT_FOUND
The notificationIconName provided in the properties file is not found.static int
VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
The VASCO notification identifier format is incorrect.static int
VASCO_NOTIFICATION_IDENTIFIER_INVALID
The VASCO notification identifier is invalid.static int
VASCO_NOTIFICATION_IDENTIFIER_NULL
The VASCO notification identifier is null.
-
-
-
Field Detail
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR
An internal error has occurred.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
public static final int VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
The VASCO notification identifier format is incorrect. It must be a hexadecimal string.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_NULL
public static final int VASCO_NOTIFICATION_IDENTIFIER_NULL
The VASCO notification identifier is null.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_INVALID
public static final int VASCO_NOTIFICATION_IDENTIFIER_INVALID
The VASCO notification identifier is invalid.- See Also:
- Constant Field Values
-
NOTIFICATION_NULL
public static final int NOTIFICATION_NULL
The notification is null.- See Also:
- Constant Field Values
-
NOTIFICATION_INVALID
public static final int NOTIFICATION_INVALID
The notification is invalid.- See Also:
- Constant Field Values
-
NETWORK_NOT_AVAILABLE
public static final int NETWORK_NOT_AVAILABLE
The network is not available.- See Also:
- Constant Field Values
-
CONTEXT_NULL
public static final int CONTEXT_NULL
The context parameter is null.- See Also:
- Constant Field Values
-
GOOGLEPLAYSERVICES_NOT_AVAILABLE
public static final int GOOGLEPLAYSERVICES_NOT_AVAILABLE
The Google Play Services are not available.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_ERROR
public static final int PROPERTIES_FILE_ERROR
There is an error with the properties file.- See Also:
- Constant Field Values
-
FCM_GET_INSTANCE_ERROR
public static final int FCM_GET_INSTANCE_ERROR
There is an error if FCM is not able to generate an instance.- See Also:
- Constant Field Values
-
FCM_GENERATE_TOKEN_ERROR
public static final int FCM_GENERATE_TOKEN_ERROR
There is an error if FCM is not able to generate a token.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_MIME_TYPE_ERROR
public static final int PROPERTIES_FILE_MIME_TYPE_ERROR
There is an error with the notificationMIMEType in properties file.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_IMAGE_SUFFIX_ERROR
public static final int PROPERTIES_FILE_IMAGE_SUFFIX_ERROR
There is an error with the image suffix in properties file. Only .png type acceptable.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_NOTIFICATION_ICON_NAME_NOT_FOUND
public static final int PROPERTIES_FILE_NOTIFICATION_ICON_NAME_NOT_FOUND
The notificationIconName provided in the properties file is not found.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_NOTIFICATION_ICON_NAME_LOLLIPOP_NOT_FOUND
public static final int PROPERTIES_FILE_NOTIFICATION_ICON_NAME_LOLLIPOP_NOT_FOUND
The notificationIconNameLollipop provided in the properties file is not found.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_COLOR_CODE_ERROR
public static final int PROPERTIES_FILE_COLOR_CODE_ERROR
There is an error parsing notificationIconBackgroundColorLollipop provided in properties file.- See Also:
- Constant Field Values
-
PERMISSION_NOT_GRANTED
public static final int PERMISSION_NOT_GRANTED
Required permission not granted, ask the user forandroid.Manifest.permission.POST_NOTIFICATIONS
- See Also:
- Constant Field Values
-
-