Class ButtonCustomization

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ButtonCustomization
    extends Customization
    implements java.io.Serializable
    Provides methods to pass ButtonCustomization parameters to the 3DS SDK.
    See Also:
    Serialized Form
    • Constructor Detail

      • ButtonCustomization

        public ButtonCustomization()
    • Method Detail

      • getCornerRadius

        public int getCornerRadius()
        Provides the value for corner radius.
        Returns:
        int corner radius value
      • setCornerRadius

        public void setCornerRadius​(int cornerRadius)
                             throws InvalidInputException
        Sets the radius of the button corners.
        Parameters:
        cornerRadius - int value.
        Throws:
        InvalidInputException - if invalid input is provided.
      • getBackgroundColor

        public java.lang.String getBackgroundColor()
        Provides value for the background color.
        Returns:
        String
      • setBackgroundColor

        public void setBackgroundColor​(java.lang.String backgroundColor)
                                throws InvalidInputException
        Sets the background color of the button.
        Parameters:
        backgroundColor - hex value of the color in the format: #333333
        Throws:
        InvalidInputException - is thrown when invalid input is provided.
      • getDarkBackgroundColor

        @Deprecated
        public java.lang.String getDarkBackgroundColor()
        Deprecated.
        This is no longer supported since EMVCo Specification 2.3.1. Use getBackgroundColor() with UiCustomization.UiCustomizationType.DARK instead.
        Provides value for the dark background color.
        Returns:
        String