Click or drag to resize
CoronaRuntime Methods

The CoronaRuntime type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodResume

Resumes the runtime, if currently suspended.

This will raise an "applicationResume" system event in Lua.

Public methodRun

Starts executing the "resource.car" or "main.lua" file found under the default resource directory specified by the DefaultResourceDirectoryPath property.

If the runtime is currently executing a Corona project, then it will be terminated before running a new one.

Public methodRun(String)

Starts the Corona runtime by executing the given *.lua or *.car file.

If the runtime is currently executing a Corona project, then it will be terminated before running a new one.

Public methodRunInDirectory

Starts the Corona runtime by using the given path as the resource directory and executing the "resource.car" or "main.lua" file found it it.

If the runtime is currently executing a Corona project, then it will be terminated before running a new one.

Public methodRunUsing

Starts the Corona runtime using the given launch settings.

If the runtime is currently executing a Corona project, then it will be terminated before running a new one.

Public methodSuspend

Suspends/pauses the runtime, if currently running.

This will raise an "applicationSuspend" system event in Lua.

Public methodTerminate

Exits and destroys the runtime, if not done already.

This will raise an "applicationExit" system event in Lua.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also