public interface InputPrimitive extends Primitive
Modifier and Type | Interface and Description |
---|---|
static class |
InputPrimitive.InputFormat
Represent the allowed input format of the data
|
Primitive.PrimitiveType
Modifier and Type | Method and Description |
---|---|
void |
assertInputData(SecureString data)
Assert the the given input data is valid for this input dialog.
|
InputPrimitive.InputFormat |
getInputFormat()
Get input format.
|
int |
getMaximumInputLength()
Get the maximum allowed input characters for this input dialog, -1 if there is no maximum or not applicable.
|
int |
getMinimumInputLength()
Get the minimum allowed input characters for this input dialog, -1 if there is no minimum or not applicable.
|
boolean |
validateInputData(SecureString data)
Check if the given input data is valid for this input dialog.
|
getDescription, getName, getTag, getType
int getMinimumInputLength()
int getMaximumInputLength()
InputPrimitive.InputFormat getInputFormat()
InputPrimitive.InputFormat
boolean validateInputData(SecureString data)
data
- the input data to checktrue
if data validassertInputData(com.gemalto.idp.mobile.core.util.SecureString)
void assertInputData(SecureString data)
data
- the input data to checkDsDataFormatException
- if the data is not validvalidateInputData(com.gemalto.idp.mobile.core.util.SecureString)