C# Класс PerpetualEngine.SimpleTimer

iOS specific implementation to let EditGroup(string) return a n iOSSimpleStorage object
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
SimpleTimer ( ) : System

Описание методов

Clear() публичный абстрактный Метод

Remove timers. Callback actions will not be triggered any more after this call (no pending triggers).
public abstract Clear ( ) : void
Результат void

DisableAutomaticBackgroundHandling() публичный Метод

Tells timer not to handle background/foreground transition of app. Currently only supported on iOS.
public DisableAutomaticBackgroundHandling ( ) : void
Результат void

IsRunning() публичный абстрактный Метод

Return if the timer is currently Running.
public abstract IsRunning ( ) : bool
Результат bool

Repeat() публичный абстрактный Метод

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
Результат void