Cisco OL-20949-01 User Manual
Page 41

3-23
Cisco Unified IP Phone Services Application Development Notes
OL-20949-01
Chapter 3 CiscoIPPhone XML Objects
Application Event Handlers
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:
type="focusLost"/> onAppFocusGained Invoked when the application gains focus, if: • The application is Active and the application’s • The application was navigated to, either directly by Note If a Notify URI is used as the event handler, a type="focusGained"/> onAppMinimized Invoked when the application is minimized. An application can only be minimized programmatically type="minimized"/> onAppClosed Invoked whenever the application closes, if: • The application's context is closed which will, in turn, • The application no longer exists on the context’s URL Note This event handler cannot contain HTTP or Note If a Notify URI is used as the event handler, a type="closed"/>
context has gained focus, or
the user, or by a refresh header or HTTP push.
notification is sent with this default data:
by a call to App:Minimize, but this invocation could occur
by direct action of the user (from a softkey invocation, for
example) or from the application via a push request.
close all applications in its stack, or
stack because it was navigated out of, or because it
was pruned from the URL stack (stack size exceeded).
HTTPS URLs.
notification is sent with this default data: