Class Customization
java.lang.Object
com.netcetera.threeds.sdk.api.ui.logic.Customization
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ButtonCustomization,LabelCustomization,TextBoxCustomization,ToolbarCustomization
Customization's superclass and provides methods to pass UI customization
parameters to the 3DS SDK.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.This is no longer supported since EMVCo Specification 2.3.1.Provides the text color value.Provides the value for text font name.intProvides the value for text font size is SP.voidsetDarkTextColor(String hexColorCode) Deprecated.This is no longer supported since EMVCo Specification 2.3.1.voidsetTextColor(String hexColorCode) voidsetTextFontName(String textFontName) voidsetTextFontSize(int textFontSize)
-
Constructor Details
-
Customization
public Customization()
-
-
Method Details
-
getTextFontSize
public int getTextFontSize()Provides the value for text font size is SP.- Returns:
- int value font size
-
setTextFontSize
- Parameters:
textFontSize- size of the text in SP.- Throws:
InvalidInputException- if invalid input is provided.
-
getTextColor
Provides the text color value.- Returns:
String
-
setTextColor
- Parameters:
hexColorCode- color value in hexadecimal format, example: #333333- Throws:
InvalidInputException- if invalid input is provided.
-
getTextFontName
Provides the value for text font name.- Returns:
String
-
setTextFontName
- Parameters:
textFontName-String- Throws:
InvalidInputException- if invalid input is provided.
-
getDarkTextColor
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsegetTextColor()withUiCustomization.UiCustomizationType.DARKinstead.Provides the dark text color value.- Returns:
String
-
setDarkTextColor
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsesetTextColor(String)withUiCustomization.UiCustomizationType.DARKinstead.Sets the dark text color.- Parameters:
hexColorCode- color value in hexadecimal format, example: #333333- Throws:
InvalidInputException- if invalid input is provided.
-