Méthode | Description | |
---|---|---|
Clear ( ) : void |
Remove timers. Callback actions will not be triggered any more after this call (no pending triggers).
|
|
DisableAutomaticBackgroundHandling ( ) : void |
Tells timer not to handle background/foreground transition of app. Currently only supported on iOS.
|
|
IsRunning ( ) : bool |
Return if the timer is currently Running.
|
|
Repeat ( System.TimeSpan timeSpan, System.Action action, bool immediate = false ) : void |
Schedule timer.
|
Méthode | Description | |
---|---|---|
SimpleTimer ( ) : System |
public DisableAutomaticBackgroundHandling ( ) : void | ||
Résultat | void |
public abstract Repeat ( System.TimeSpan timeSpan, System.Action action, bool immediate = false ) : void | ||
timeSpan | System.TimeSpan | Trigger interval. |
action | System.Action | To be executed when timer triggers. |
immediate | bool | |
Résultat | void |