CoronaRuntimeEnvironment Methods |
The CoronaRuntimeEnvironment type exposes the following members.
Name | Description | |
---|---|---|
AddEventListener | Subscribes an event handler to be invoked when the given Corona event name gets dispatched. It is okay to call this method before the runtime has started. Once started, the runtime will automatically subscribe the given handler to the event. | |
DispatchEvent | Dispatches the given Corona event to Lua to be received by a Lua function. Lua functions can subscribe to the given event via the Lua Runtime:addEventListener() function. | |
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
RemoveEventListener | Unsubscribes the given event handler from the specified Corona event. This method is expected to be called with the same event name and handler arguments passed into the AddEventListener(String, CoronaLuaEventHandler) method. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |