8.1.1 getState() : State

The Hosted Application returns its current state to the caller.

This method may be called at any time.

Note: 1. A Hosting System may use this method as an alternative to tracking Hosted Application state changes reported by the notifyStateChanged() method call.

2. A Hosting System may use this method to determine if a Hosted Application is still in operation (i.e., did not die without calling the notifyStateChanged() method with an EXIT state).