helper.postNewState
Prototype
postNewState(statetype, data, delay)
Input parameters
statetype - type of the new state (int value)
data - data to associate with the new state, can be null
delay - time in milliseconds until the state change
Return value
null
Description
Posts a new state to the server. The new state will completely replace the current state and remove any scheduled state change. For custom state types, use positive integers.
Please see the Programmers Guide for more information about handling states and state changes.
Example code
postNewState(STATE_NEXT_QUESTION, null, 0);
