Click or drag to resize
CoronaLuaEventHandler Delegate

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.

Namespace: CoronaLabs.Corona.WinRT
Assembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax
public delegate ICoronaBoxedData CoronaLuaEventHandler(
	CoronaRuntimeEnvironment __param0,
	CoronaLuaEventArgs __param1
)

Parameters

__param0
Type: CoronaLabs.Corona.WinRTCoronaRuntimeEnvironment
__param1
Type: CoronaLabs.Corona.WinRTCoronaLuaEventArgs

Return Value

Type: ICoronaBoxedData

Returns a value back to Lua, if applicable to the event.

Can return a CoronaBoxedBoolean, CoronaBoxedNumber, CoronaBoxedString, CoronaBoxedList, or CoronaBoxedTable.

Returning null will return nil in Lua.

See Also