The IToiApplicationObserver interface is an observer interface which may be implemented by services and applications to be updated on the current state of each application registered in the system. For example, updates are dispatched each time another application gets active. Several applications usually change states simultaneously, i.e., when one application gets activated the previously active application gets inactivated (invisible or visible). These simultaneous events are viewed as one atomic event, and all associated state changes are dispatched in the same call to the observer interface.
import "IToiApplicationObserver.idl";
Public Member Functions | |
oneway void | OnStateChanged (in IToiApplicationService::TToiApplicationInfoSequence states) |
oneway void IToiApplicationObserver::OnStateChanged | ( | in IToiApplicationService::TToiApplicationInfoSequence | states | ) |
Method called by the Application Service to inform about application state changes.
states | The new states for the applications that have changed. Each application that has undergone a state change as part of this atomic event has one entry in the vector. |