View source
enum abstract InvokeEventReason(Null<Int>)
package openfl.desktop
Available on AIR, Android, HashLink, Linux, Neko, Windows, iOS, macOS
The InvokeEventReason class enumerates values returned by the reason
property of an InvokeEvent object.
See also:
Variables
inlineread onlyLOGIN:InvokeEventReason = 0
Desktop only; indicates that the InvokeEvent event occurred due to the user logging in.
inlineread onlyNOTIFICATION:InvokeEventReason = 1
iOS only; indicates that the InvokeEvent occurred because the application was invoked on receiving a remote notification.
inlineread onlyOPEN_URL:InvokeEventReason = 2
Mobile only; indicates that the InvokeEvent occurred because the application was invoked by another application or by the system.
inlineread onlySTANDARD:InvokeEventReason = 3
Indicates that the InvokeEvent occured for any reason other than login or open url.