Values¶
-
public class
Values
¶ Values collected by the terminal.
Methods¶
create¶
getImage¶
-
public Image
getImage
()¶ Refer to
setImage(Bitmap)
.
getNumericValue¶
-
public Decimal
getNumericValue
()¶ Gets the response value when the Input Type is
InputType.NUMBER
orInputType.DECIMAL
.
getSelectedIndices¶
-
public ArrayList<Integer>
getSelectedIndices
()¶ Refer to
setSelectedIndices(Collection)
.
getValue¶
-
public String
getValue
()¶ Gets the response value when the Input Type is
InputType.EMAIL
,InputType.PASSWORD
, orInputType.TEXT
. If the InputType is InputType#NUMBER and the input is phone number entered with a leading ‘+’ symbol or ‘0’ or just numeric phone number, this contains the full value as entered by the user.
isConfirmed¶
-
public boolean
isConfirmed
()¶ Refer to
setConfirmed(boolean)
.
isValidForType¶
setConfirmed¶
-
public void
setConfirmed
(boolean confirmed)¶ Sets the response value when the Input Type is
InputType.CONFIRMATION
,InputType.MANAGER_APPROVAL
, orInputType.ANY_KEY
.
setImage¶
-
public void
setImage
(Image image)¶ Used when the Input Type is
InputType.SIGNATURE
to provide the image of the signature.
setNumericValue¶
-
public void
setNumericValue
(Decimal value)¶ Sets the response value when the Input Type is
InputType.NUMBER
orInputType.DECIMAL
.
setSelectedIndices¶
-
public void
setSelectedIndices
(ArrayList<Integer> indices)¶ Used when the Input Type is
InputType.MENU_OPTIONS
to provide back the selected index from the options. a negative number means to go back to a previous menu
setValue¶
-
public void
setValue
(String value)¶ Sets the response value when the Input Type is
InputType.EMAIL
,InputType.PASSWORD
, orInputType.TEXT
.