Enum Class PluginRegistrationManager

java.lang.Object
java.lang.Enum<PluginRegistrationManager>
com.gemalto.mfs.mwsdk.payment.PluginRegistrationManager
All Implemented Interfaces:
Serializable, Comparable<PluginRegistrationManager>, Constable

public enum PluginRegistrationManager extends Enum<PluginRegistrationManager>
This enum contains the plugin registration methods.
  • Enum Constant Details

  • Method Details

    • values

      public static PluginRegistrationManager[] 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 PluginRegistrationManager 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
    • register

      public final void register(CustomApduListener customApduListener, String[] customAidList)
      Registers AIDs with the corresponding listener.
      Parameters:
      customApduListener - the custom listener used for registration.
      customAidList - the list of AIDs used for registration with the listener.
    • hasRegisteredPlugin

      public final boolean hasRegisteredPlugin()
      Checks if any plugin has been registered.
      Returns:
      TRUE if a plugin has been registered and FALSE otherwise.