Cisco OL-18696-01 Development Manual page 37

Unified ip phone services application development notes
Table of Contents

Advertisement

Chapter 2
CiscoIPPhone XML Objects
Event Handler Schema
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="notifyApplicationEvent">
<xs:complexType>
</xs:complexType>
</xs:element>
</xs:schema>
Example
<CiscoIPPhoneImage appId="Cisco/Unity"
onAppFocusLost="RTPRx:Stop; RTPTx:Stop; Notify:http:server:80:path"
onAppFocusGained="http://server/mainpage/updateUI"
onAppClosed="Notify:http:server:80:eventlistener/appClosed">
...
</CiscoIPPhoneImage>
OL-18696-01
<xs:attribute name="appId" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="64"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="closed"/>
<xs:enumeration value="minimized"/>
<xs:enumeration value="focusLost"/>
<xs:enumeration value="focusGained"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Cisco Unified IP Phone Services Application Development Notes
Application Event Handlers
2-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

7900 series

Table of Contents