C# 클래스 PerpetualEngine.SimpleTimer

iOS specific implementation to let EditGroup(string) return a n iOSSimpleStorage object
파일 보기 프로젝트 열기: perpetual-mobile/PerpetualEngine

공개 메소드들

메소드 설명
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