IToiApplicationObserver Interface Reference


Description

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.

See also:
IToiApplicationService
Note:
Services or applications may choose to inherit the adapter class TToiApplicationObserverAdapter, which provides a default empty implementation of IToiApplicationObserver.

import "IToiApplicationObserver.idl";

List of all members.

Public Member Functions

oneway void OnStateChanged (in IToiApplicationService::TToiApplicationInfoSequence states)

Member Function Documentation

oneway void IToiApplicationObserver::OnStateChanged ( in IToiApplicationService::TToiApplicationInfoSequence  states  ) 

Method called by the Application Service to inform about application state changes.

Parameters:
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.
See also:
IToiApplicationService::TToiApplicationInfo