Cisco Touch10 Manual page 13

In-room control
Hide thumbs Also See for Touch10:
Table of Contents

Advertisement

API
API for Programming In-Room Controls (Cont.)
Event for Panel Update
The video system sends the following event when a new In-
Room Control panel is applied:
LayoutUpdated — sent when a new in-room control panel for
Touch10/10 is exported to the video system.
As a response to this event, the control system should send
commands to initialize all widgets so that they reflect the true
status of the room settings.
How to register:
xfeedback register event/UserInterface/Extensions/Widget/
LayoutUpdated
Example:
Terminal output mode:
*e UserInterface Extensions Widget LayoutUpdated
** end
XML output mode:
<Event>
<UserInterface item="1">
<Extensions item="1">
<Widget item="1">
<LayoutUpdated item="1"/>
</Widget>
</Extensions>
</UserInterface>
</Event>
D1535805 User Guide In-Room Control for Touch10. Produced June 2017 for CE9.0. © 2015–2017 Cisco Systems, Inc. All rights reserved
Event for Opening or Closing of a Page
If you have given each of your pages a unique Page ID, the
system can send events when a page is opened or closed.
EventPageOpened — sent when a page is opened
EventPageClosed — sent when a page is closed
The pages are like radio buttons, opening another page will close
the current page. In that case both the EventPageClosed and the
EventPageOpened will be issued.
How to register:
xfeedback register event/UserInterface/Extensions/PageOpened
xfeedback register event/UserInterface/Extensions/PageClosed
Example:
Terminal output mode:
*e UserInterface Extensions Event PageOpened PageId:
"appletvpage"
*e UserInterface Extensions Event PageClosed PageId:
"appletvpage"
XML output mode:
<Event>
<UserInterface item="1">
<Extensions item="1">
<Page item="1">
<Action item="1">
<PageId item="1">appletvpage</PageId>
<Type item="1">Opened</Type>
</Action>
</Page>
</Extensions>
</UserInterface>
</Event>
For an example of PageClosed, just substitute Closed for Opened
in the example at left. This event will typically be used when you
want the controller to take some action based on the event, in
this case turning on (off) the AppleTV box for you.
13

Advertisement

Table of Contents
loading

Table of Contents