SecureInputBuilderV2@Deprecated
public interface SecureInputBuilder
| Modifier and Type | Method and Description |
|---|---|
android.support.v4.app.DialogFragment |
buildPinpad(boolean isScramble,
boolean isDoublePassword,
boolean isDialog,
SecurePinpadListener listener)
Deprecated.
Will be removed future major release.
|
void |
setAutomaticEnabledOk(boolean automaticEnabledOk)
Deprecated.
Will be removed future major release.
|
void |
setAutomaticOk(boolean automaticOk)
Deprecated.
Will be removed future major release.
|
void |
setButtonCharacterColorDisabled(int buttonCharacterColorDisabled)
Deprecated.
Will be removed future major release.
|
void |
setButtonCharacterColorNormal(int buttonCharacterColorNormal)
Deprecated.
Will be removed future major release.
|
void |
setButtonCharacterColorSelected(int buttonCharacterColorSelected)
Deprecated.
Will be removed future major release.
|
void |
setButtonGradientDisabledEnd(int buttonGradientDisabledEnd)
Deprecated.
Will be removed future major release.
|
void |
setButtonGradientDisabledStart(int buttonGradientDisabledStart)
Deprecated.
Will be removed future major release.
|
void |
setButtonGradientNormalEnd(int buttonGradientNormalEnd)
Deprecated.
Will be removed future major release.
|
void |
setButtonGradientNormalStart(int buttonGradientNormalStart)
Deprecated.
Will be removed future major release.
|
void |
setButtonGradientSelectedEnd(int buttonGradientSelectedEnd)
Deprecated.
Will be removed future major release.
|
void |
setButtonGradientSelectedStart(int buttonGradientSelectedStart)
Deprecated.
Will be removed future major release.
|
void |
setButtonSpacing(int buttonSpacing)
Deprecated.
Will be removed future major release.
|
void |
setCharacterArray(java.lang.String characters)
Deprecated.
Will be removed future major release.
|
void |
setDialogHeightToScreenRatio(double ratio)
Deprecated.
Will be removed future major release.
|
void |
setDialogWidthToScreenRatio(double ratio)
Deprecated.
Will be removed future major release.
|
void |
setEncoding(java.lang.String encoding)
Deprecated.
Will be removed future major release.
|
void |
setKeypadHeight(int height)
Deprecated.
Will be removed future major release.
|
void |
setKeypadWidth(int width)
Deprecated.
Will be removed future major release.
|
void |
setLabelTextColor(int labelTextColor)
Deprecated.
Will be removed future major release.
|
void |
setMaximumInputLength(int maximumInputLength)
Deprecated.
Will be removed future major release.
|
void |
setMinimumInputLength(int minimumInputLength)
Deprecated.
Will be removed future major release.
|
void |
setNumberOfColumns(int numberOfColumns)
Deprecated.
Will be removed future major release.
|
void |
setNumberOfRows(int numberOfRows)
Deprecated.
Will be removed future major release.
|
void |
setScreenBackGroundColor(int screenBackgroundColor)
Deprecated.
Will be removed future major release.
|
void |
setSecondTextLabel(java.lang.String secondTextLabel)
Deprecated.
Will be removed future major release.
|
void |
setTextBorderFocusColor(int textBorderColor)
Deprecated.
Will be removed future major release.
|
void |
setTextBorderUnfocusColor(int textBorderColor)
Deprecated.
Will be removed future major release.
|
void |
setTextLabel(java.lang.String textLabel)
Deprecated.
Will be removed future major release.
|
void |
setVisibleButtonPress(boolean visibleButtonPress)
Deprecated.
Will be removed future major release.
|
void |
wipe()
Deprecated.
Will be removed future major release.
|
@Deprecated
android.support.v4.app.DialogFragment buildPinpad(boolean isScramble,
boolean isDoublePassword,
boolean isDialog,
SecurePinpadListener listener)
Notice: The Secure Pin Pad is designed for one-time use, this function is expected to be called once all the necessary configurations have been done when each time the Pin Pad being used.
isScramble - If this Boolean value is true then secure keypad will
generate scrambled keypad. And if it is false it will show its
default behavior (unscramble keypad).isDoublePassword - If this Boolean value is true then secure keypad will show
two edit box. And if it is false it will show only one edit
boxes.isDialog - If this Boolean value is true then secure keypad will shown
as Dialog (Popup). And if it is false it will shown as View
(FullScreen).listener - is Interface to create the communication channel between
library and the main application. This interface will be used
when user press Ok Button and provide the secure pin as a
callback value.dialogFragment that contains the secure keypad.java.lang.NullPointerException - when the listener is nullSecureInputBuilderV2@Deprecated void setKeypadHeight(int height)
height - an integer indicates the height of the keypad in pixels.java.lang.IllegalArgumentException - when height less or equal to zero.SecureInputBuilderV2@Deprecated void setKeypadWidth(int width)
width - an integer indicates the width of the keypad in pixels.java.lang.IllegalArgumentException - when width less or equal to zero.SecureInputBuilderV2@Deprecated void setDialogHeightToScreenRatio(double ratio)
ratio - a double type data indicates the ratio of the height of the
keypad when compared with the full screen.java.lang.IllegalArgumentException - when height less or equal to zero.SecureInputBuilderV2@Deprecated void setDialogWidthToScreenRatio(double ratio)
ratio - a double type data indicates the ratio of the width of the
keypad when compared with the full screen.java.lang.IllegalArgumentException - when width less or equal to zero.SecureInputBuilderV2@Deprecated void setEncoding(java.lang.String encoding)
encoding - Default : "UTF-8".SecureInputBuilderV2@Deprecated void setCharacterArray(java.lang.String characters)
characters - Only digits and alphabets(both lower and upper case) are supported. Default :
SecureInputConstant.DEFAULT_CHARACTER_ARRAY.java.lang.IllegalArgumentException - when this character array contains anything other than
digits.SecureInputBuilderV2@Deprecated void setButtonSpacing(int buttonSpacing)
buttonSpacing - Default :
SecureInputConstant.DEFAULT_BUTTON_SPACING.java.lang.IllegalArgumentException - when this spacing is less or equal to 0, or greater than 10.SecureInputBuilderV2@Deprecated void setScreenBackGroundColor(int screenBackgroundColor)
screenBackgroundColor - Default :
SecureInputConstant.DEFAULT_BACKGROUND_COLOR.SecureInputBuilderV2@Deprecated void setButtonCharacterColorNormal(int buttonCharacterColorNormal)
buttonCharacterColorNormal - Default :
SecureInputConstant.DEFAULT_CHARACTER_COLOR.SecureInputBuilderV2@Deprecated void setButtonCharacterColorSelected(int buttonCharacterColorSelected)
buttonCharacterColorSelected - Default :
SecureInputConstant.DEFAULT_CHARACTER_COLOR_SELECTED.SecureInputBuilderV2@Deprecated void setButtonCharacterColorDisabled(int buttonCharacterColorDisabled)
buttonCharacterColorDisabled - Default :
SecureInputConstant.DEFAULT_CHARACTER_COLOR_DISABLED.SecureInputBuilderV2@Deprecated void setButtonGradientNormalStart(int buttonGradientNormalStart)
buttonGradientNormalStart - Default :
SecureInputConstant.DEFAULT_BUTTON_GRADIENT_START.SecureInputBuilderV2@Deprecated void setButtonGradientNormalEnd(int buttonGradientNormalEnd)
buttonGradientNormalEnd - Default :
SecureInputConstant.DEFAULT_BUTTON_GRADIENT_END.SecureInputBuilderV2@Deprecated void setButtonGradientSelectedStart(int buttonGradientSelectedStart)
buttonGradientSelectedStart - Default :
SecureInputConstant.DEFAULT_BUTTON_GRADIENT_SELECTED_START.SecureInputBuilderV2@Deprecated void setButtonGradientSelectedEnd(int buttonGradientSelectedEnd)
buttonGradientSelectedEnd - Default :
SecureInputConstant.DEFAULT_BUTTON_GRADIENT_SELECTED_END.SecureInputBuilderV2@Deprecated void setButtonGradientDisabledStart(int buttonGradientDisabledStart)
buttonGradientDisabledStart - Default :
SecureInputConstant.DEFAULT_BUTTON_GRADIENT_DISABLED_START.SecureInputBuilderV2@Deprecated void setButtonGradientDisabledEnd(int buttonGradientDisabledEnd)
buttonGradientDisabledEnd - Default :
SecureInputConstant.DEFAULT_BUTTON_GRADIENT_DISABLED_END.SecureInputBuilderV2@Deprecated void setLabelTextColor(int labelTextColor)
labelTextColor - Default :
SecureInputConstant.DEFAULT_TEXT_LABEL_COLOR.SecureInputBuilderV2@Deprecated void setTextBorderFocusColor(int textBorderColor)
textBorderColor - Default :
SecureInputConstant.DEFAULT_TEXT_BORDER_FOCUS_COLOR.SecureInputBuilderV2@Deprecated void setTextBorderUnfocusColor(int textBorderColor)
textBorderColor - Default :
SecureInputConstant.DEFAULT_TEXT_BORDER_UNFOCUS_COLOR.SecureInputBuilderV2@Deprecated void setTextLabel(java.lang.String textLabel)
textLabel - Default :
SecureInputConstant.DEFAULT_TEXT_LABEL.java.lang.IllegalArgumentException - when the text string is null.SecureInputBuilderV2@Deprecated void setSecondTextLabel(java.lang.String secondTextLabel)
secondTextLabel - Default :
SecureInputConstant.DEFAULT_SECOND_TEXT_LABEL.java.lang.IllegalArgumentException - when the text string is null.SecureInputBuilderV2@Deprecated void setNumberOfRows(int numberOfRows)
numberOfRows - Default :
SecureInputConstant.DEFAULT_NO_OF_ROWS.java.lang.IllegalArgumentException - when the number of rows is less or equal to zero.SecureInputBuilderV2@Deprecated void setNumberOfColumns(int numberOfColumns)
numberOfColumns - Default :
SecureInputConstant.DEFAULT_NO_OF_COLUMNS.java.lang.IllegalArgumentException - when the number of columns is less or equal to zero.SecureInputBuilderV2@Deprecated void setMaximumInputLength(int maximumInputLength)
maximumInputLength - Default :
SecureInputConstant.DEFAULT_MAXIMUM_INPUT_LENGTH.java.lang.IllegalArgumentException - when the maximum length of the PIN is set as an integer less
or equal to zero, or greater than 16.SecureInputBuilderV2@Deprecated void setMinimumInputLength(int minimumInputLength)
minimumInputLength - Default :
SecureInputConstant.DEFAULT_MINIMUM_INPUT_LENGTH.java.lang.IllegalArgumentException - when the minimum length of the PIN is set as an integer less
or equal to zero, or greater than 16.SecureInputBuilderV2@Deprecated void setAutomaticEnabledOk(boolean automaticEnabledOk)
automaticEnabledOk - Default :
SecureInputConstant.DEFAULT_AUTOMATIC_ENABLED_OK.SecureInputBuilderV2@Deprecated void setAutomaticOk(boolean automaticOk)
automaticOk - Default :
SecureInputConstant.DEFAULT_AUTOMATIC_OK.SecureInputBuilderV2@Deprecated void setVisibleButtonPress(boolean visibleButtonPress)
visibleButtonPress - Default :
SecureInputConstant.DEFAULT_VISIBLE_BUTTON_PRESS.SecureInputBuilderV2@Deprecated void wipe()
Notice: The wipe will only reset the character array and scramble option. other non-sensitive configuration such as color setting and text-label setting won't be reset in this function.
Once wipe being called, the pin pad is required to be dismissed / closed and re-built before next time usage.
SecureInputBuilderV2