Widgets
Slider
D1535805 User Guide In-Room Control for Touch10. Produced June 2017 for CE9.0. © 2015–2017 Cisco Systems, Inc. All rights reserved
Events
Pressed Triggered when the
Example: Press the slider with WidgetId = "slider" , and move it into a new
slider is pressed
position ("68"), and release.
Value: N/A
*e UserInterface Extensions Event Pressed Signal: "slider"
Changed Triggered when the
** end
slider is moved while
*e UserInterface Extensions Event Changed Signal: "slider:32"
holding down, and
** end
when the slider is
*e UserInterface Extensions Event Changed Signal: "slider:68"
released.
Value: 0-255
** end
*e UserInterface Extensions Event Released Signal: "slider:68"
Released Triggered when the
** end
slider is released
Value: 0-255
<Event>
<UserInterface item="1">
</UserInterface>
</Event>
Commands
The visual appearance of the
Example: Set the slider with WidgetId = "slider" to position "98" .
slider changes immediately when
xCommand UserInterface Extensions Widget SetValue WidgetId: "slider" Value: "98"
you tap or slide it. However, the
control system must always send
a SetValue command to the video
system to tell the new position of
the slider. This ensures that the
status is updated accordingly.
Terminal mode
XML mode
<Extensions item="1">
<Widget item="1">
<Action item="1">
<WidgetId item="1">slider</WidgetId>
<Value item="1">68</Value>
<Type item="1">released</Type>
</Action>
</Widget>
</Extensions>
18
About Sliders
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 of use: Dimmable lights,
volume control.