Provides a system timer
OperationsConstructor
New(time:Int, recur:Bool)
Name | Type | Description |
---|---|---|
time | Int | alarm time |
recur | Bool | true if reoccurring, false otherwise |
Constructor
New(time:Int)
Name | Type | Description |
---|---|---|
time | Int | alarm time |
Get the current timer interval
method : public : GetInterval() ~ Int
Alarm callback method
method : public : virutal : Ring(param:System.Base) ~ Nil
Name | Type | Description |
---|---|---|
param | Base | callback parameter |
Set the timer interval
method : public : SetInterval(time:Int) ~ Nil
Name | Type | Description |
---|---|---|
time | Int | timer interval |
Start the alarm
method : public : Start(param:System.Base) ~ Nil
Name | Type | Description |
---|---|---|
param | Base | callback parameter |
Ends the alarm if it's reoccurring
method : public : Stop() ~ Nil