Click or drag to resize
CoronaRuntime Events

The CoronaRuntime type exposes the following members.

Events
  NameDescription
Public eventLoaded

Raised after loading the "config.lua" file and just but before executing the "main.lua" file.

This is the application's opportunity to register custom APIs into Lua.

Public eventResumed
Raised when the Corona runtime has been resumed after a suspend.
Public eventStarted
Raised just after the "main.lua" file has been executed by the Corona runtime.
Public eventSuspended

Raised when the Corona runtime has been suspended which pauses all rendering, audio, timers and other Corona related operations.

This is typically raised when the end-user navigates to another app or when the power button has been pressed.

Public eventTerminating

Raised just before the Corona runtime environment is about to be terminated.

This typically happens when the end-user backs out of the app, the Corona XAML control has been unloaded from the page, or when the runtime's Terminate() method has been called.

Top
See Also