Specifications

3-32
Cisco Unified IP Phone Services Application Development Notes
OL-22505-01
Chapter 3 CiscoIPPhone XML Objects
Application Event Handlers
Note Support for the Application Event Handlers requires an updated XML Parser (see “Updated XML Parser
and Schema Enforcement” section on page B-1 for details).
Attributes
The Application Event Handlers can be attached to a supported object by specifying the attributes:
Note An Application URI with Priority=0 is not allowed in the Application Event Handlers (see Application”
section on page 5-20).
Attribute Description
appID Identifies the application to which this displayable XSI
object belongs. The format of the appID attribute should
be in the format
vendor/product
, such as Cisco/Unity,
but this syntax is not enforced, and the application can
assign any unique identifier.
onAppFocusLost Invoked when the application loses focus, if:
The application’s context has lost focus, or
The application was navigated away from, either
directly by the user, or programmatically by a refresh
header or HTTP push.
Note If a Notify URI is used as the event handler, a
notification is sent with this default data:
<notifyApplicationEvent appId="appId"
type="focusLost"/>
onAppFocusGained Invoked when the application gains focus, if:
The application is Active and the application’s
context has gained focus, or
The application was navigated to, either directly by
the user, or by a refresh header or HTTP push.
Note If a Notify URI is used as the event handler, a
notification is sent with this default data:
<notifyApplicationEvent appId="appId"
type="focusGained"/>