[ Flags ]
[ Version ( since = "2.28" ) ]
public enum ApplicationFlags
- FLAGS_NONE - Default
- IS_SERVICE - Run as a service.
- IS_LAUNCHER - Don't try to
become the primary instance.
- HANDLES_OPEN - This
application handles opening files (in the primary instance).
- HANDLES_COMMAND_LINE -
This application handles command line arguments (in the primary instance).
- SEND_ENVIRONMENT - Send
the environment of the launching process to the primary instance.
- NON_UNIQUE - Make no attempts
to do any of the typical single-instance application negotiation, even if the application ID is given.
- CAN_OVERRIDE_APP_ID -
Allow users to override the application ID from the command line with `--gapplication-app-id`.