C# Class PerpetualEngine.SimpleTimer

iOS specific implementation to let EditGroup(string) return a n iOSSimpleStorage object
Afficher le fichier Open project: perpetual-mobile/PerpetualEngine

Méthodes publiques

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.

Private Methods

Méthode Description
SimpleTimer ( ) : System

Method Details

Clear() public abstract méthode

Remove timers. Callback actions will not be triggered any more after this call (no pending triggers).
public abstract Clear ( ) : void
Résultat void

DisableAutomaticBackgroundHandling() public méthode

Tells timer not to handle background/foreground transition of app. Currently only supported on iOS.
public DisableAutomaticBackgroundHandling ( ) : void
Résultat void

IsRunning() public abstract méthode

Return if the timer is currently Running.
public abstract IsRunning ( ) : bool
Résultat bool

Repeat() public abstract méthode

Schedule timer.
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