Class ViewCustomization
- java.lang.Object
-
- com.netcetera.threeds.sdk.api.ui.logic.ViewCustomization
-
- All Implemented Interfaces:
java.io.Serializable
public class ViewCustomization extends java.lang.Object implements java.io.SerializableProvides methods to pass customization parameters for the Challenge View and Progress View to the 3DS SDK.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewCustomization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetChallengeViewBackgroundColor()Provides the background color for the Challenge View.java.lang.StringgetProgressViewBackgroundColor()Provides the background color for theProgressView.voidsetChallengeViewBackgroundColor(java.lang.String hexColorCode)Sets the background color for the Challenge View.voidsetProgressViewBackgroundColor(java.lang.String hexColorCode)Sets the background color for theProgressView.
-
-
-
Method Detail
-
setChallengeViewBackgroundColor
public void setChallengeViewBackgroundColor(java.lang.String hexColorCode) throws InvalidInputExceptionSets the background color for the Challenge View.- Parameters:
hexColorCode- hex value of the color in the format: #333333- Throws:
InvalidInputException- is thrown when invalid input is provided.
-
getChallengeViewBackgroundColor
public java.lang.String getChallengeViewBackgroundColor()
Provides the background color for the Challenge View.- Returns:
String
-
setProgressViewBackgroundColor
public void setProgressViewBackgroundColor(java.lang.String hexColorCode) throws InvalidInputExceptionSets the background color for theProgressView. Note. This only applies to theProgressViewdisplayed during the Frictionless Flow. TheProgressViewdisplayed during the Challenge Flow is mandated by EVMCo to be transparent.- Parameters:
hexColorCode- hex value of the color in the format: #333333- Throws:
InvalidInputException- is thrown when invalid input is provided.
-
getProgressViewBackgroundColor
public java.lang.String getProgressViewBackgroundColor()
Provides the background color for theProgressView.- Returns:
String
-
-