Cisco MX300G2 Manual page 22

In-room control on touch 10
Hide thumbs Also See for MX300G2:
Table of Contents

Advertisement

Slider
Table of contents
Introduction
Example of use: Dimmable lights, volume control.
Create a user interface
Events
API for in-room control
Pressed
Widgets
Widgets
Changed
Command reference
Released
Troubleshooting
Tips and tricks
Examples
Commands
The visual appearence of the slider changes immediately when you tap or slide
D15358.01 APRIL 2016
it. However, the control system must always send a
Collaboration Endpoint software
version 8.1
video system to tell the new position of the slider. This ensures that the status is
© 2016 Cisco Systems, Inc.
updated accordingly.
All rights reserved.
Triggered when the slider is pressed
Value: N/A
Triggered when the slider is moved while holding down, and when
the slider is released
Value: 0-255
Triggered when the slider is released
Value: 0-255
SetValue
A slider selects values within a set range. The minimum value is represented
by 0, and the maximum value is represented by 255. When the slider is being
pressed and moved, events are sent maximum 5 times a second.
When you tap the bar, the slider is immediately moved to that new position.
Example:
Press the slider with WidgetId = "slider", and move it into a new
position ("68"), and release.
*e UserInterface Extensions Event Pressed Signal: "slider"
** end
*e UserInterface Extensions Event Changed Signal: "slider:32"
** end
*e UserInterface Extensions Event Changed Signal: "slider:68"
** end
*e UserInterface Extensions Event Released Signal: "slider:68"
** end
.
.
.
<Event>
<UserInterface item="1">
<Extensions item="1">
<Widget item="1">
<Action item="1">
</Action>
</Widget>
</Extensions>
</UserInterface>
</Event>
Example:
Set the slider with WidgetId = "slider" to position "98".
xCommand UserInterface Extensions Widget SetValue WidgetId: "slider"
command to the
Value: "98"
22
Terminal mode
XML mode
<WidgetId item="1">slider</WidgetId>
<Value item="1">68</Value>
<Type item="1">released</Type>

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mx800Mx700Mx200g2Sx10Sx20Sx80

Table of Contents