Initiate a switch (transition) from current to specified
lifecycle state.
Parameters: state - state to switch to Parameters: wait - if true, wait (block) until transition to the specified state has been completed throws: IllegalStateException - thrown when switching to specifiedstate is invalid
Initiate a switch (transition) from current to specified
foreground state.
Parameters: state - state to switch to Parameters: wait - if true, wait (block) until transition to the specified state has been completed throws: IllegalStateException - thrown when switching to specifiedstate is invalid
Wait (block) until MIDlet reaches specified lifecycle state.
Parameters: state - state to wait for throws: IlegalStateException - thrown if state to wait for is invalid,or if during waiting MIDlet has reached the state where waiting forspecified state is no longer valid
Wait (block) until MIDlet reaches specified foreground state.
Parameters: state - state to wait for throws: IlegalStateException - thrown if state to wait for is invalid,or if during waiting MIDlet has reached the state where waiting forspecified state is no longer valid