CoronaRuntimeState Enumeration |
Namespace: CoronaLabs.Corona.WinRT
Member name | Value | Description | |
---|---|---|---|
NotStarted | 0 | Indicates that the Corona runtime has not started a project yet. | |
Starting | 1 | Indicates that the Corona runtime's Run() method has been called, but hasn't been started yet. During this phase, the Corona runtime is initializing itself and attempting to access its rendering surface. | |
Running | 2 | Indicates that the Corona runtime has been started/resumed and is actively executing its Lua scripts, rendering to the screen, playing audio, etc. | |
Suspending | 3 | Indicates that the Corona runtime's Suspend() method has been called and is in the middle of suspending itself. During this phase, system event "applicationSuspend" is raised in Lua. | |
Suspended | 4 | Indicates that the Corona runtime has been suspended. This means features such as rendering, audio, timers, and other Corona related operations have been currently paused. | |
Resuming | 5 | Indicates that the Corona runtime's Resume() method has been called and is in the middle of resuming itself. During this phase, system event "applicationResume" event is raised in Lua. | |
Terminating | 6 | Indicates that the Corona runtime is being terminated. During this phase, system event "applicationExit" is raised in Lua. | |
Terminated | 7 | Indicates that the Corona runtime has been completely terminated. |