Enum Class PushResponseKey

java.lang.Object
java.lang.Enum<PushResponseKey>
com.thalesgroup.gemalto.d1.PushResponseKey
All Implemented Interfaces:
Serializable, Comparable<PushResponseKey>, java.lang.constant.Constable

public enum PushResponseKey extends Enum<PushResponseKey>
An enumeration value for Push Message from the server.
Since:
2.3.0
  • Enum Constant Details

  • Field Details

    • TYPE_UNKNOWN

      public static final String TYPE_UNKNOWN
      The message received is not recognized by the SDK.
      See Also:
    • TYPE_CARD_STATE

      public static final String TYPE_CARD_STATE
      A message is received to notify the Application that there is an update for Card State. This notification only happen if data contains key="sender" with value="CPS" When this type is received, application will receive another callback on D1PayDataChangedListener
      See Also:
    • TYPE_REPLENISHMENT

      public static final String TYPE_REPLENISHMENT
      A message is received to notify that a replenishment is required. This notification only occurs if the data contains key="sender" with value="MG"
      See Also:
    • TYPE_TRANSACTION_NOTIFICATION

      public static final String TYPE_TRANSACTION_NOTIFICATION
      A message is received to notify that a new transaction has been performed recently. This notification only occurs if the data contains key="sender" with value="TNS"
      See Also:
    • TYPE_AUTHN

      public static final String TYPE_AUTHN
      The message received is of an Authn type and has been processed by the SDK.
      See Also:
    • TYPE_MESSAGE_NOTIFICATION

      public static final String TYPE_MESSAGE_NOTIFICATION
      The message received is related to activities in card issued by D1 and Click to Pay.
      Since:
      4.0.0
      See Also:
    • TYPE_CARD_RENEWAL

      public static final String TYPE_CARD_RENEWAL
      A message is received to notify that resynchronisation of the card id is required. This notification only occurs if the data contains key="sender" with value="CPS" and renewal sync is needed. When this message is received,it is recommended to call this API D1PayWallet.getDigitalCardList(D1Task.Callback) to trigger the resynchronisation of the card id. Resynchronisation of the card id requires user login. If user is not logged in, resynchronisation of the card id will be skipped.
      Since:
      3.3.1
      See Also:
  • Method Details

    • values

      public static PushResponseKey[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PushResponseKey valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null