Click or drag to resize
CoronaLabs.Corona.WinRT Namespace
This namespace provides classes for running and managing a Corona project and its Lua scripts. These classes are available on all of Microsoft's WinRT platforms such as for Windows Phone and Windows Store applications.
Classes
  ClassDescription
Public classCoronaBoxedBoolean

Stores a boolean value that can be transferred to/from Lua.

Instances of this class are immutable.

Public classCoronaBoxedData

Provides an easy means of converting Lua data to a Corona boxed data object.

You cannot create instances of this class. You can only use this class' static methods.

Public classCoronaBoxedList
Stores a collection of boxed data that can be transferred to/from Lua as an array.
Public classCoronaBoxedNumber

Stores a floating point value that can be transferred to/from Lua.

Instances of this class are immutable.

Public classCoronaBoxedString

Stores a string that can be transferred to/from Lua.

Instances of this class are immutable.

Public classCoronaBoxedTable
Stores a dictionary of key/value pairs that can be transferred to/from Lua as a table.
Public classCoronaLuaEventArgs
Provides a generic collection of all property values belonging to a Corona event dispatched to/from Lua.
Public classCoronaLuaEventProperties
Stores a collection of name/value property pairs for one Corona event that is intended to be dispatched to/from Lua.
Public classCoronaRuntime

Runtime used to run a Corona project and manage its lifetime via its suspend, resume, and terminate methods and events.

You would not normally create a CoronaRuntime instance yourself. Instead, you would use a Corona runtime object provided by a "CoronaLabs.Corona.WinRT.Phone.CoronaPanel" Xaml control.

Public classCoronaRuntimeEnvironment
Provides information and services for one active Corona runtime instance.
Public classCoronaRuntimeEventArgs
Provides information about a Corona runtime event.
Public classCoronaRuntimeLaunchSettings
Provides customizable settings that Corona should use on startup, such as directory paths to be used in Lua and the Lua file to be executed on startup.
Public classDispatchCoronaLuaEventResult

Indicates if the Corona runtime has succeeded in dispatching a Corona event to/from Lua.

Provides the result returned by Corona event handler/listener if dispatched successfully.

Public classReadOnlyCoronaLuaEventProperties

Wraps an existing CoronaLuaEventProperties object, providing read-only access to the collection's properties.

Note that this read-only collection cannot prevent modifications of mutables property values.

Interfaces
  InterfaceDescription
Public interfaceICoronaBoxedComparableData

Object which stores a single value that can be transferred to/from Lua.

Can perform Equals() and CompareTo() checks with other comparable objects and can be used as a key in a table.

Instances of this interface are immutable and can be used as a key in a hash table or dictionary.

Public interfaceICoronaBoxedData
Stores data that can be transferred to/from Lua.
Delegates
  DelegateDescription
Public delegateCoronaLuaEventHandler

Delegate to be invoked by the Corona runtime when an event has been dispatched from Lua.

An instance of this handler is expected to be given to the CoronaRuntimeEnvironment::AddEventListener() method in order to subscribe to a particular Corona event.

Enumerations
  EnumerationDescription
Public enumerationCoronaRuntimeState
Indicates the current state of a CoronaRuntime object such as Starting, Running, etc.