Class UiCustomization
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            android.os.Parcelable
 
 public final class UiCustomization implements Parcelable This class provides the functionality required to customize the 3DS SDK UI elements. An object of this class holds various UI-related parameters. Created by Ran Haveshush on 24/08/2018. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public enumUiCustomization.ButtonTypeThis enum represents the ButtonCustomization button's type. 
 - 
                                
                            
                                Field SummaryFields Modifier and Type Field Description public final static Parcelable.Creator<UiCustomization>CREATORpublic final static intCONTENTS_FILE_DESCRIPTORpublic final static intPARCELABLE_WRITE_RETURN_VALUE
 - 
                                
                            
                                Constructor SummaryConstructors Constructor Description UiCustomization()
 - 
                                
                            
                                Method SummaryModifier and Type Method Description intdescribeContents()voidwriteToParcel(Parcel dest, int flags)ButtonCustomizationgetButtonCustomization(UiCustomization.ButtonType buttonType)Returns a ButtonCustomization instance for a specified button type ButtonType. voidsetButtonCustomization(ButtonCustomization buttonCustomization, UiCustomization.ButtonType buttonType)Sets the ButtonCustomization for a specific ButtonType. ScreenCustomizationgetScreenCustomization()voidsetScreenCustomization(ScreenCustomization screenCustomization)Sets the screen customization. ToolbarCustomizationgetToolbarCustomization()voidsetToolbarCustomization(ToolbarCustomization toolbarCustomization)Sets the toolbar customization. LabelCustomizationgetLabelCustomization()voidsetLabelCustomization(LabelCustomization labelCustomization)The setLabelCustomization method shall accept a LabelCustomization object. TextBoxCustomizationgetTextBoxCustomization()voidsetTextBoxCustomization(TextBoxCustomization textBoxCustomization)Sets the text boxes (EditText) customization. SelectionItemCustomizationgetSelectionItemCustomization()voidsetSelectionItemCustomization(SelectionItemCustomization selectionItemCustomization)Sets the selection items customization. ExpandableInfoCustomizationgetExpandableInfoCustomization()voidsetExpandableInfoCustomization(ExpandableInfoCustomization expandableInfoCustomization)Sets the expandable infos customization. voidsetToolbarTitle(String title)This utility method sets the toolbar title by setting the ToolbarCustomization header text. voidsetStatusBarColor(String hexColorCode)This utility method sets the status bar color by setting the ScreenCustomization status bar color. voidsetScreenBackgroundColor(String hexColorCode)This utility method sets the challenge Activity's background color by setting the ScreenCustomization background color. voidsetTextColor(String hexColorCode)This utility method sets the text color for all of the specific customizations. voidsetBorderColor(String hexColorCode)This utility method sets the border color for all of the specific customizations. voidsetTintColor(String hexColorCode)This utility method sets the tint color for all of the specific customizations. voidsetHighlightedBackgroundColor(String hexColorCode)This utility method sets the highlighted background color for all of the specific customizations. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        describeContentsint describeContents() 
 - 
                                        writeToParcelvoid writeToParcel(Parcel dest, int flags) 
 - 
                                        getButtonCustomizationButtonCustomization getButtonCustomization(UiCustomization.ButtonType buttonType) Returns a ButtonCustomization instance for a specified button type ButtonType. - Parameters:
- buttonType- A ButtonType that represents a specific button type to retrieve.
- Returns:
- A ButtonCustomization for the specified ButtonType. 
 
 - 
                                        setButtonCustomizationvoid setButtonCustomization(ButtonCustomization buttonCustomization, UiCustomization.ButtonType buttonType) Sets the ButtonCustomization for a specific ButtonType. The 3DS SDK uses this object for customizing buttons. - Parameters:
- buttonCustomization- A ButtonCustomization that represents button customization object.
- buttonType- A ButtonType that represents button type.
 
 - 
                                        getScreenCustomizationScreenCustomization getScreenCustomization() - Returns:
- A ScreenCustomization that represents the screen customization object. 
 
 - 
                                        setScreenCustomizationvoid setScreenCustomization(ScreenCustomization screenCustomization) Sets the screen customization. The 3DS SDK uses this object for customizing the challenge Activity screen. - Parameters:
- screenCustomization- A ScreenCustomization that represents the screen customization object.
 
 - 
                                        getToolbarCustomizationToolbarCustomization getToolbarCustomization() - Returns:
- A ToolbarCustomization that represents the toolbar customization object. 
 
 - 
                                        setToolbarCustomizationvoid setToolbarCustomization(ToolbarCustomization toolbarCustomization) Sets the toolbar customization. The 3DS SDK uses this object for customizing toolbars. - Parameters:
- toolbarCustomization- A ToolbarCustomization that represents the toolbar customization object.
 
 - 
                                        getLabelCustomizationLabelCustomization getLabelCustomization() - Returns:
- A LabelCustomization that represents the label customization object. 
 
 - 
                                        setLabelCustomizationvoid setLabelCustomization(LabelCustomization labelCustomization) The setLabelCustomization method shall accept a LabelCustomization object. The 3DS SDK uses this object for customizing labels. - Parameters:
- labelCustomization- A LabelCustomization that represents the label customization object.
 
 - 
                                        getTextBoxCustomizationTextBoxCustomization getTextBoxCustomization() - Returns:
- A TextBoxCustomization that represents the text box (EditText) customization object. 
 
 - 
                                        setTextBoxCustomizationvoid setTextBoxCustomization(TextBoxCustomization textBoxCustomization) Sets the text boxes (EditText) customization. The 3DS SDK uses this object for customizing text boxes (EditText). - Parameters:
- textBoxCustomization- A TextBoxCustomization that represents the text box customization object.
 
 - 
                                        getSelectionItemCustomizationSelectionItemCustomization getSelectionItemCustomization() - Returns:
- A SelectionItemCustomization that represents the selection item customization object. 
 
 - 
                                        setSelectionItemCustomizationvoid setSelectionItemCustomization(SelectionItemCustomization selectionItemCustomization) Sets the selection items customization. The 3DS SDK uses this object for customizing selection items. - Parameters:
- selectionItemCustomization- A SelectionItemCustomization that represents the selection item customization object.
 
 - 
                                        getExpandableInfoCustomizationExpandableInfoCustomization getExpandableInfoCustomization() - Returns:
- A ExpandableInfoCustomization that represents the expandable info customization object. 
 
 - 
                                        setExpandableInfoCustomizationvoid setExpandableInfoCustomization(ExpandableInfoCustomization expandableInfoCustomization) Sets the expandable infos customization. The 3DS SDK uses this object for customizing expandable infos. - Parameters:
- expandableInfoCustomization- A ExpandableInfoCustomization that represents the expandable info customization object.
 
 - 
                                        setToolbarTitlevoid setToolbarTitle(String title) This utility method sets the toolbar title by setting the ToolbarCustomization header text. - Parameters:
- title- The toolbar title.
 
 - 
                                        setStatusBarColor@Deprecated(message = "Deprecated in Android. Has no effect starting from Android 15.") void setStatusBarColor(String hexColorCode) This utility method sets the status bar color by setting the ScreenCustomization status bar color. - Parameters:
- hexColorCode- The color code in Hex format.
 
 - 
                                        setScreenBackgroundColorvoid setScreenBackgroundColor(String hexColorCode) This utility method sets the challenge Activity's background color by setting the ScreenCustomization background color. - Parameters:
- hexColorCode- The color code in Hex format.
 
 - 
                                        setTextColorvoid setTextColor(String hexColorCode) This utility method sets the text color for all of the specific customizations. - Parameters:
- hexColorCode- The color code in Hex format.
 
 - 
                                        setBorderColorvoid setBorderColor(String hexColorCode) This utility method sets the border color for all of the specific customizations. - Parameters:
- hexColorCode- The color code in Hex format.
 
 - 
                                        setTintColorvoid setTintColor(String hexColorCode) This utility method sets the tint color for all of the specific customizations. - ToolbarCustomization
- SelectionItemCustomization
- ButtonCustomization for the borderless buttons RESEND and CANCEL
 - Parameters:
- hexColorCode- The color code in Hex format.
 
 - 
                                        setHighlightedBackgroundColorvoid setHighlightedBackgroundColor(String hexColorCode) This utility method sets the highlighted background color for all of the specific customizations. - SelectionItemCustomization
- ExpandableInfoCustomization
- ButtonCustomization for the borderless buttons RESEND and CANCEL
 - Parameters:
- hexColorCode- The color code in Hex format.
 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-