Alarm
Provides a system timer
Operations
New
Constructor
New(time:Int, recur:Bool)
Parameters
Name | Type | Description |
---|---|---|
time | Int | alarm time |
recur | Bool | true if reoccurring, false otherwise |
Ring
Alarm callback method
method : public : virutal : Ring(param:System.Base) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
param | Base | callback parameter |
SetInterval
Set the timer interval
method : public : SetInterval(time:Int) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
time | Int | timer interval |
Start
Start the alarm
method : public : Start(param:System.Base) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
param | Base | callback parameter |