Cisco OL-20949-01 User Manual

Page 31

Advertising
background image

3-13

Cisco Unified IP Phone Services Application Development Notes

OL-20949-01

Chapter 3 CiscoIPPhone XML Objects

XML Object Definitions

Icons in the

CiscoIPPhoneMenu

object have a maximum width of 16 pixels and a maximum height of 10

pixels.

Figure 3-6

shows an IconMenu on a Cisco Unified IP Phone.

Figure 3-6

IconMenu on a Cisco Unified IP Phone Sample

The system presents the information as a bitmap graphic to the left of the menu item text. The user
selects menu items in the same way as a

CiscoIPPhoneMenu

object.

Definition

<CiscoIPPhoneIconMenu>

<Title>Title text goes here</Title>

<Prompt>Prompt text goes here</Prompt>

<MenuItem>

<IconIndex>Indicates what IconItem to display</IconIndex>

<Name>The name of each menu item</Name>

<URL>The URL associated with the menu item</URL>

</MenuItem>

<SoftKeyItem>

<Name>Name of softkey</Name>

<URL>URL or URI of softkey</URL>

<Position>Position information of the softkey</Position>

</SoftKeyItem>

<IconItem>

<Index>A unique index from 0 to 9</Index>

<Height>Size information for the icon</Height>

<Width>Size information for the icon</Width>

<Depth>Number of bits per pixel</Depth>

<Data>Packed Pixel Data</Data>

</IconItem>

</CiscoIPPhoneIconMenu>

Note

The 6900 series IP phones does not display the Title and Prompt menu fields at the same time.
If both Title and Prompt fields are defined at the same time, then these phones display only the
Prompt field.

The XML tags in IconMenu use the tag definitions for CiscoIPPhoneImage and CiscoIPPhoneMenu.
Although the semantics of the tags are identical, you can have only 32 MenuItem objects in a

CiscoIPPhoneIconMenu

object. See

“CiscoIPPhoneMenu”

and

“CiscoIPPhoneImage”

for detailed

descriptions.

Advertising