Class TimerInfo
class TimerInfo;
Constructors
| Name | Description |
|---|---|
this
(targetWidget, intervalMillis)
|
Fields
| Name | Type | Description |
|---|---|---|
nextId
|
ulong | |
_id
|
ulong | |
_interval
|
long | |
_nextTimestamp
|
long | |
_targetWidget
|
Widget |
Properties
| Name | Type | Description |
|---|---|---|
id[get]
|
ulong | unique Id of timer |
interval[get]
|
long | timer interval, milliseconds |
nextTimestamp[get]
|
long | next timestamp to invoke timer at, as per currentTimeMillis() |
targetWidget[get]
|
Widget | widget to route timer event to |
valid[get]
|
bool | return true if timer is not yet cancelled |
Methods
| Name | Description |
|---|---|
cancel
()
|
cancel timer |
notify
()
|
cancel timer |
opCmp
(obj)
|
|
opEquals
(obj)
|