Click or drag to resize
CoronaLuaEventPropertiesCreateWithName Method
Creates a new Corona event properties table using the given event name.

Namespace: CoronaLabs.Corona.WinRT
Assembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax
public static CoronaLuaEventProperties CreateWithName(
	string eventName
)

Parameters

eventName
Type: SystemString

The Corona event "name" to be added to the event properties table.

Expected to be one of the Corona event names defined here: https://docs.coronalabs.com/api/event/index.html

Alternatively, you can use your own custom event name that you can use to communicate between native code and Lua, such as how it works with Corona plugins.

This name is required. You cannot dispatch an event to Corona without a name.

Cannot be null/empty or else an exception will be thrown.

Return Value

Type: CoronaLuaEventProperties
Returns a new properties collection assigned the given event name.
See Also