Class NotificationSDKServerErrorCodes

java.lang.Object
com.vasco.digipass.sdk.utils.notification.server.constants.NotificationSDKServerErrorCodes

public class NotificationSDKServerErrorCodes extends Object
Defines the error codes returned by the NotificationSDKServer.
  • Field Details

    • INTERNAL_ERROR

      public static final int INTERNAL_ERROR
      An internal error has occurred. The error code value is -5400.
      See Also:
    • VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT

      public static final int VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
      The notification format is incorrect. It must be an even hexadecimal string. The error code value is -5401.
      See Also:
    • VASCO_NOTIFICATION_IDENTIFIER_NULL

      public static final int VASCO_NOTIFICATION_IDENTIFIER_NULL
      The notification identifier is null or empty. The error code value is -5402.
      See Also:
    • VASCO_NOTIFICATION_IDENTIFIER_INVALID

      public static final int VASCO_NOTIFICATION_IDENTIFIER_INVALID
      The notification identifier is invalid. The error code value is -5403.
      See Also:
    • CREDENTIALS_NULL

      public static final int CREDENTIALS_NULL
      The credentials object is null. The error code value is -5404.
      See Also:
    • CREDENTIALS_ANDROID_INVALID

      public static final int CREDENTIALS_ANDROID_INVALID
      The Android part of the credentials object is invalid. The error code value is -5405.
      See Also:
    • CREDENTIALS_IOS_INVALID

      public static final int CREDENTIALS_IOS_INVALID
      The iOS part of the credentials object is invalid. The error code value is -5406.
      See Also:
    • SETTINGS_INVALID

      public static final int SETTINGS_INVALID
      The settings object is invalid. The error code value is -5409.
      See Also:
    • NOTIFICATION_PROVIDER_ANDROID_ERROR

      public static final int NOTIFICATION_PROVIDER_ANDROID_ERROR
      There has been an error with the Google notification service provider. See cause for error details. The error code value is -5410.
      See Also:
    • NOTIFICATION_PROVIDER_IOS_ERROR

      public static final int NOTIFICATION_PROVIDER_IOS_ERROR
      There has been an error with the Apple notification service provider. See cause for error details. The error code value is -5411.
      See Also:
    • NOTIFICATION_NULL

      public static final int NOTIFICATION_NULL
      The notification object is null. The error code value is -5414.
      See Also:
    • NOTIFICATION_TITLE_NULL

      public static final int NOTIFICATION_TITLE_NULL
      The notification title is null. The error code value is -5415.
      See Also:
    • NOTIFICATION_IOS_TITLE_CHARACTER_INVALID

      public static final int NOTIFICATION_IOS_TITLE_CHARACTER_INVALID
      The iOS title of the notification contains an invalid character. '\n' is not a valid character in the title. The error code value is -5416.
      See Also:
    • NOTIFICATION_SUBJECT_NULL

      public static final int NOTIFICATION_SUBJECT_NULL
      The notification subject is null. The error code value is -5417.
      See Also:
    • NOTIFICATION_CONTENT_NULL

      public static final int NOTIFICATION_CONTENT_NULL
      The notification content is null. The error code value is -5418.
      See Also:
    • NOTIFICATION_ANDROID_DATA_TOO_LONG

      public static final int NOTIFICATION_ANDROID_DATA_TOO_LONG
      The Android data of the notification is too long (the maximum length of the payload is NotificationSDKServer.MAX_PAYLOAD_LENGTH_ANDROID bytes). The error code value is -5421.
      See Also:
    • NOTIFICATION_IOS_DATA_TOO_LONG

      public static final int NOTIFICATION_IOS_DATA_TOO_LONG
      The iOS data of the notification is too long (the maximum length of the payload is NotificationSDKServer.MAX_PAYLOAD_LENGTH_IOS bytes). The error code value is -5422.
      See Also:
    • NOTIFICATION_IOS_TOKEN_INVALID

      public static final int NOTIFICATION_IOS_TOKEN_INVALID
      The iOS device token is no longer valid. The error code value is -5425.
      See Also:
    • NOTIFICATION_IOS_NO_APP_BUNDLE_ID

      public static final int NOTIFICATION_IOS_NO_APP_BUNDLE_ID
      The iOS bundle ID has not been specified in the notification. The error code value is -5426.
      See Also:
    • CALL_ON_TERMINATED_INSTANCE

      public static final int CALL_ON_TERMINATED_INSTANCE
      The NotificationSDKServer instance has been finished. It cannot be used anymore. The error code value is -5427.
      See Also: