Timer

Timer is a service run in background to count down the time you set.

Usage

It's very useful for predefining actions that will be performed in app and need not to wait for user action to trigger those actions.


Action [ Started | Stopped ]

Simply click the action you want to define and drag components inside.

Started:

It used to define the action when the timer is started.

Example

Make phone vibrate when the timer is started to notice user. The logic is showed below. ( ) is used to define the action we selected and [ ] is used to define the properties we set:

Timer [Duration(ms): 3000] -> (started) -> Vibrate
Stopped:

It used to define the action when the timer is stopped.

Example

We want to dismiss the introduction "Popup" after 10s so that user can start using the app service. The logic is showed below. ( ) is used to define the action we selected and [ ] is used to define the properties we set:

Popup -> (created) -> Timer [Duration(ms): 10000] -> (stopped) -> Dismiss Popup

Properties

Simply click a gear on the right hand corner of related "Timer" component to edit the properties.

Duration(ms) - Used to define the count down time of the timer.

results matching ""

    No results matching ""