rex_backendless_timer
Introduction
Get elapsed interval from backendless.
Get elapsed interval from backendless.
Usage
Sample capx
Sample capx
Class name
"Class name" in properties table is the "table name" shown at dashboard.
"Class name" in properties table is the "table name" shown at dashboard.
Set owner
Call "Action:Set owner" to set owner of timers before executing any timer commands.
Call "Action:Set owner" to set owner of timers before executing any timer commands.
Start timer
Call "Action:Start" to start a timer.
"Condition:On start timer" will be triggered while starting success, get triggered timer name by "Expression:LastTimerName".
Otherwise "Condition:On start timer error" will be triggered, get error message by "Expression:ErrorMessage".
Call "Action:Start" to start a timer.
"Condition:On start timer" will be triggered while starting success, get triggered timer name by "Expression:LastTimerName".
Otherwise "Condition:On start timer error" will be triggered, get error message by "Expression:ErrorMessage".
Get timer
Call
Otherwise "Condition:On get timer error" will be triggered, get error message by "Expression:ErrorMessage".
"Condition:Is valid" returns true if get a timer.
Call
- "Action:Get or start" to get a timer , or start a timer if not exists.
- "Action:Get" to get a timer.
Otherwise "Condition:On get timer error" will be triggered, get error message by "Expression:ErrorMessage".
"Condition:Is valid" returns true if get a timer.
Time-out interval
The parameter "Interval" in "Condition:On start timer" or "Condition:On get timer" is a time-out interval which is an optional value in this timer. Testing if it is time-out now by "Condition:Is time-out" under "Condition:On get timer".
The parameter "Interval" in "Condition:On start timer" or "Condition:On get timer" is a time-out interval which is an optional value in this timer. Testing if it is time-out now by "Condition:Is time-out" under "Condition:On get timer".
Expression of timer
These expressions of a timer could be used under "Condition:On start timer" or "Condition:On get timer"-
These expressions of a timer could be used under "Condition:On start timer" or "Condition:On get timer"-
- Expression:LastUserID, Expression:LastTimerName : ownerID of this timer, and timer name.
- Expression:LastStartTimestamp, Expression:LastCurrentTimestamp : start time or current timestamp
- Expression:LastElapsedTime : current time - start time , uses it in stopwatch.
- Expression:LastTimeoutInterval : time-out interval , uses it in count down timer.
- Expression:LastRemainInterval : elapsed time - time-out interval , uses it in count down timer.
Remove timer
Call "Action:Remove" to remove the timer.
"Condition:On remove timer complete" will be triggered while removing success, get triggered timer name by "Expression:LastTimerName".
Otherwise "Condition:On remove timer error" will be triggered, get error message by "Expression:ErrorMessage".
Call "Action:Remove" to remove the timer.
"Condition:On remove timer complete" will be triggered while removing success, get triggered timer name by "Expression:LastTimerName".
Otherwise "Condition:On remove timer error" will be triggered, get error message by "Expression:ErrorMessage".
Compare with rex_time_away
rex_time_away or rex_time_awayL gets the elapsed time from local system time, which might be changed by user.
This plugin gets the elapsed time from backendless service. It might be more credible.
rex_time_away or rex_time_awayL gets the elapsed time from local system time, which might be changed by user.
This plugin gets the elapsed time from backendless service. It might be more credible.