54
5.2.14. Timer
[Overview]
Developer can define a period of time, before the timer will trigger.
When timer triggers, developer can define any Actions (e.g. SendRequest, Make Call).
Timer will only stop if the current screen is being replaced.
Timer can only be exist one definition in XML content. Multiple timer event cannot executed
[Definition]
Child Element 1
Child Element 2
Attribute
Value
m/o
Functionality
name
String
m
Max. 64 characters
repeat
true/false
m
default: false
interval
1~86400
m
In second(s)
Events
m
OnExpired
m
[Syntax]
<ppxml>
<Screen name=“Screen” version=“3.0”>
<Timer name="Timer1" repeat="false" interval="20">
<Events>
<OnExpired>
<SendRequest url="http://aaa.ccc.com/GetXml.aspx?xml=HotelHome.xml"
method="GET" />
</OnExpired>
</Events>
</Timer>
</Screen>
</ppxml>
Содержание TGP600
Страница 68: ...64 End of doc ...