Class NotificationSDKClientErrorCodes
java.lang.Object
com.vasco.digipass.sdk.utils.notification.client.constants.NotificationSDKClientErrorCodes
This class provides the error codes managed by the Notification SDK.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The context parameter is null.static final int
There is an error if FCM is not able to generate a token.static final int
There is an error if FCM is not able to generate an instance.static final int
The Google Play Services are not available.static final int
An internal error has occurred.static final int
The network is not available.static final int
The notification is invalid.static final int
The notification is null.static final int
Required permission not granted, ask the user forandroid.Manifest.permission.POST_NOTIFICATIONS
static final int
There is an error parsing notificationIconBackgroundColorLollipop provided in properties file.static final int
There is an error with the properties file.static final int
There is an error with the image suffix in properties file.static final int
There is an error with the notificationMIMEType in properties file.static final int
The notificationIconNameLollipop provided in the properties file is not found.static final int
The notificationIconName provided in the properties file is not found.static final int
The VASCO notification identifier format is incorrect.static final int
The VASCO notification identifier is invalid.static final int
The VASCO notification identifier is null. -
Method Summary
-
Field Details
-
INTERNAL_ERROR
public static final int INTERNAL_ERRORAn internal error has occurred.- See Also:
-
VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
public static final int VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMATThe VASCO notification identifier format is incorrect. It must be a hexadecimal string.- See Also:
-
VASCO_NOTIFICATION_IDENTIFIER_NULL
public static final int VASCO_NOTIFICATION_IDENTIFIER_NULLThe VASCO notification identifier is null.- See Also:
-
VASCO_NOTIFICATION_IDENTIFIER_INVALID
public static final int VASCO_NOTIFICATION_IDENTIFIER_INVALIDThe VASCO notification identifier is invalid.- See Also:
-
NOTIFICATION_NULL
public static final int NOTIFICATION_NULLThe notification is null.- See Also:
-
NOTIFICATION_INVALID
public static final int NOTIFICATION_INVALIDThe notification is invalid.- See Also:
-
NETWORK_NOT_AVAILABLE
public static final int NETWORK_NOT_AVAILABLEThe network is not available.- See Also:
-
CONTEXT_NULL
public static final int CONTEXT_NULLThe context parameter is null.- See Also:
-
GOOGLEPLAYSERVICES_NOT_AVAILABLE
public static final int GOOGLEPLAYSERVICES_NOT_AVAILABLEThe Google Play Services are not available.- See Also:
-
PROPERTIES_FILE_ERROR
public static final int PROPERTIES_FILE_ERRORThere is an error with the properties file.- See Also:
-
FCM_GET_INSTANCE_ERROR
public static final int FCM_GET_INSTANCE_ERRORThere is an error if FCM is not able to generate an instance.- See Also:
-
FCM_GENERATE_TOKEN_ERROR
public static final int FCM_GENERATE_TOKEN_ERRORThere is an error if FCM is not able to generate a token.- See Also:
-
PROPERTIES_FILE_MIME_TYPE_ERROR
public static final int PROPERTIES_FILE_MIME_TYPE_ERRORThere is an error with the notificationMIMEType in properties file.- See Also:
-
PROPERTIES_FILE_IMAGE_SUFFIX_ERROR
public static final int PROPERTIES_FILE_IMAGE_SUFFIX_ERRORThere is an error with the image suffix in properties file. Only .png type acceptable.- See Also:
-
PROPERTIES_FILE_NOTIFICATION_ICON_NAME_NOT_FOUND
public static final int PROPERTIES_FILE_NOTIFICATION_ICON_NAME_NOT_FOUNDThe notificationIconName provided in the properties file is not found.- See Also:
-
PROPERTIES_FILE_NOTIFICATION_ICON_NAME_LOLLIPOP_NOT_FOUND
public static final int PROPERTIES_FILE_NOTIFICATION_ICON_NAME_LOLLIPOP_NOT_FOUNDThe notificationIconNameLollipop provided in the properties file is not found.- See Also:
-
PROPERTIES_FILE_COLOR_CODE_ERROR
public static final int PROPERTIES_FILE_COLOR_CODE_ERRORThere is an error parsing notificationIconBackgroundColorLollipop provided in properties file.- See Also:
-
PERMISSION_NOT_GRANTED
public static final int PERMISSION_NOT_GRANTEDRequired permission not granted, ask the user forandroid.Manifest.permission.POST_NOTIFICATIONS
- See Also:
-