Class ToolbarCustomization
java.lang.Object
com.netcetera.threeds.sdk.api.ui.logic.Customization
com.netcetera.threeds.sdk.api.ui.logic.ToolbarCustomization
- All Implemented Interfaces:
Serializable
The ToolbarCustomization class provides methods to pass ToolbarCustomization
parameters to the 3DS SDK.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides value for background color.Provides value for button text.Deprecated.This is no longer supported since EMVCo Specification 2.3.1.Provides value for header text.voidsetBackgroundColor(String hexColorCode) voidsetButtonText(String buttonText) voidsetDarkBackgroundColor(String hexColorCode) Deprecated.This is no longer supported since EMVCo Specification 2.3.1.voidsetHeaderText(String headerText) Methods inherited from class com.netcetera.threeds.sdk.api.ui.logic.Customization
getDarkTextColor, getTextColor, getTextFontName, getTextFontSize, setDarkTextColor, setTextColor, setTextFontName, setTextFontSize
-
Constructor Details
-
ToolbarCustomization
public ToolbarCustomization()Constructor.
-
-
Method Details
-
getHeaderText
Provides value for header text.- Returns:
String
-
setHeaderText
- Parameters:
headerText-String- Throws:
InvalidInputException- if headerText doesn't have a valid value.
-
getButtonText
Provides value for button text.- Returns:
String
-
setButtonText
- Parameters:
buttonText-String- Throws:
InvalidInputException- if buttonText doesn't have a valid value.
-
getBackgroundColor
Provides value for background color.- Returns:
String
-
setBackgroundColor
- Parameters:
hexColorCode-Stringin hexadecimal format, example: #999999- Throws:
InvalidInputException- if invalid value is passed.
-
getDarkBackgroundColor
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsegetBackgroundColor()withUiCustomization.UiCustomizationType.DARKinstead.Provides value for dark background color.- Returns:
String
-
setDarkBackgroundColor
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsesetBackgroundColor(String)withUiCustomization.UiCustomizationType.DARKinstead.Sets the dark background color of the toolbar.- Parameters:
hexColorCode-Stringin hexadecimal format, example: #999999- Throws:
InvalidInputException- if invalid value is passed.
-