Return type: java.lang.String[]
Retrieves the list of parameters returned by the state table. This method takes a String array as a parameter. The array is then updated with the parameters from the StateTableResult object, and returned. The size of the array must be at least equal to the number of parameters returned by the state table, otherwise an exception will be thrown. Passing an array into this method increases efficiency as you can reuse the array. Use null as a parameter to create a new array automatically.
Return type: int
Returns the number of parameters in the parameter list.
Return type: java.lang.String
Retrieves the value of the parameter at the position in the array specified byindex.
Return type: boolean
Returns true or false, depending on whether the parameters passed back from the state have changed from the values passed in.
Return type: int
Retrieves the return code passed back from the state table.
public void voiceMain() throws WVRException { . . . // Invoke the state table StateTableResult result = call.invokeStateTable(DBlookup, entryPoint, [customerNumber, accountNumber]); String[] balance= result.getParameters() . . .// Process the input, according to the value of balance }