gn:act_setChrono
- Description
- Action used to set
GnChronometer
to a certain start time.
- Action returns
- void
Action signatures
Set chronometer base time by Long
value
[gn:act_setChrono]|[target,number]
Parameter Description target
target where the number
will be set- Valid targets:
number
time in miliseconds used to set GnChronometer
base time
Example
@+id/chronoWidget
-GnChronometer
timeInMiliseconds
- time in miliseconds
- ⤷
[gn:act_setChrono]|[@+id/chronoWidget,timeInMiliseconds]
- ⤷
Set chronometer base time by source
widget
[gn:act_setChrono]|[target,source]
Parameter Description [[target]
]target where the base time will be set - Valid targets:
source
source from where GnChronometer
base time will be set- Valid sources:
Example
@+id/chronoWidget
-GnChronometer
@+id/GnEditTextWithTimeStamp
-GnEditText
- ⤷
[gn:act_setChrono]|[@+id/chronoWidget,@+id/GnEditTextWithTimeStamp]
- ⤷
Set chronometer base time by source
widget and Long
value
[gn:act_setChrono]|[target,source,number]
Parameter Description target
target where the base time will be set - Valid targets:
source
source from where GnChronometer
base time will be set- Valid sources:
number time in miliseconds used to set GnChronometer
base time
Example
@+id/chronoWidget
-GnChronometer
@+id/GnEditTextWithTimeStamp
-GnEditText
timeInMiliseconds
- time in miliseconds
- ⤷
[gn:act_setChrono]|[@+id/chronoWidget,@+id/GnEditTextWithTimeStamp,timeInMiliseconds]
- ⤷