CoronaRuntimeEnvironmentRemoveEventListener Method |
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.
Namespace: CoronaLabs.Corona.WinRT
The name of the Corona event to unsubscribe from such as "system", "enterFrame", etc.
The given event name cannot be null/empty or else an exception will be thrown.
Reference to the handler that was previously given to the AddEventListener(String, CoronaLuaEventHandler) method.
Cannot be null or else an exception will be thrown.
Returns true if the event handler was successfully unsubscribed from the Corona event.
Returns false if the given event handler reference was not previously subscribed to the given event name.