public static interface PinCodeConfig.Type
PinCodeConfig.PinCodeType
implements. Since you cannot extend an enum to add
your own types, implement this interface as an alternative if you need your own PinCodeType.Modifier and Type | Method and Description |
---|---|
android.text.InputFilter |
getInputFilter()
Returns the
InputFilter for the EditText. |
int |
getInputType()
Returns the
InputType that should be applied to the EditText during pincode
entry. |
int |
getInputTypeStringId()
Returns the id for the string resource representing the input character type.
|
int |
getVisibleVariationType(boolean visible)
Returns the
InputType that should be applied to the EditText based on whether the
text is visible or not. |
int getInputType()
InputType
that should be applied to the EditText during pincode
entry.int getInputTypeStringId()
This will be inserted into the instructions for creating a pincode. For example, if you return 'digit', it will tell the user to enter a '4-digit code'. If you return 'letter', it will say '4-letter code'.
android.text.InputFilter getInputFilter()
InputFilter
for the EditText. Use this to limit the types of
characters that may be used in the pin code type.int getVisibleVariationType(boolean visible)
InputType
that should be applied to the EditText based on whether the
text is visible or not.