Class UiCustomization
java.lang.Object
com.netcetera.threeds.sdk.api.ui.logic.UiCustomization
- All Implemented Interfaces:
Serializable
The UiCustomization class shall provide the functionality required to
customize the 3DS SDK UI elements. An object of this class holds
various UI-related parameters.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefines the button types for customizations.static enumDefines the UI Customization type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetButtonCustomization(UiCustomization.ButtonType buttonType) Gets the button customization for the providedbuttonType.getButtonCustomization(String buttonType) Provides value for ButtonCustomization.booleanDeprecated.Provides value for LabelCustomization.Provides value for TextBoxCustomization.Provides value for toolbar customization.Provides the value for ViewCustomization.voidsetButtonCustomization(ButtonCustomization buttonCustomization, UiCustomization.ButtonType buttonType) voidsetButtonCustomization(ButtonCustomization buttonCustomization, String customButtonType) voidsetLabelCustomization(LabelCustomization labelCustomization) voidsetTextBoxCustomization(TextBoxCustomization textBoxCustomization) voidsetToolbarCustomization(ToolbarCustomization toolbarCustomization) voidsetViewCustomization(ViewCustomization viewCustomization) voidsupportDarkMode(boolean supported) Deprecated.
-
Constructor Details
-
UiCustomization
public UiCustomization()Default constructor for UICustomization class.
-
-
Method Details
-
setButtonCustomization
public void setButtonCustomization(ButtonCustomization buttonCustomization, UiCustomization.ButtonType buttonType) throws InvalidInputException - Parameters:
buttonCustomization-ButtonCustomizationbuttonType-UiCustomization.ButtonType- Throws:
InvalidInputException- if buttonCustomization or buttonType have invalid values.
-
setButtonCustomization
public void setButtonCustomization(ButtonCustomization buttonCustomization, String customButtonType) throws InvalidInputException - Parameters:
buttonCustomization-ButtonCustomizationcustomButtonType-String- Throws:
InvalidInputException- if invalid input is provided.
-
getToolbarCustomization
Provides value for toolbar customization.- Returns:
ToolbarCustomization
-
setToolbarCustomization
public void setToolbarCustomization(ToolbarCustomization toolbarCustomization) throws InvalidInputException - Parameters:
toolbarCustomization-ToolbarCustomization- Throws:
InvalidInputException- if ToolbarCustomization value is invalid.
-
getTextBoxCustomization
Provides value for TextBoxCustomization.- Returns:
TextBoxCustomization- Throws:
InvalidInputException
-
setTextBoxCustomization
public void setTextBoxCustomization(TextBoxCustomization textBoxCustomization) throws InvalidInputException - Parameters:
textBoxCustomization-TextBoxCustomization- Throws:
InvalidInputException- if invalid input is provided.
-
getLabelCustomization
Provides value for LabelCustomization.- Returns:
LabelCustomization
-
getButtonCustomization
Gets the button customization for the providedbuttonType.- Parameters:
buttonType-UiCustomization.ButtonType- Returns:
ButtonCustomization
-
getButtonCustomization
Provides value for ButtonCustomization.- Parameters:
buttonType-UiCustomization.ButtonType- Returns:
ButtonCustomization
-
setLabelCustomization
public void setLabelCustomization(LabelCustomization labelCustomization) throws InvalidInputException - Parameters:
labelCustomization-LabelCustomization- Throws:
InvalidInputException- if invalid input is provided.
-
setViewCustomization
- Parameters:
viewCustomization-ViewCustomization- Throws:
InvalidInputException- if invalid input is provided.
-
getViewCustomization
Provides the value for ViewCustomization.- Returns:
ViewCustomization
-
supportDarkMode
Deprecated.Removed option to opt in to dark mode support for the Netcetera Android 3DS SDK. This is now supported by default. As a result, this method should no longer be used and will be removed in the next iteration of the SDK
Should the Netcetera 3DS SDK support dark mode.- Parameters:
supported-boolean
-
getDarkModeSupported
Deprecated.Removed option to opt in to dark mode support for the Netcetera Android 3DS SDK. This is now supported by default. As a result, this method should no longer be used and will be removed in the next iteration of the SDK
Provides value if dark mode is supported.- Returns:
boolean
-