Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of several types.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[System.Flags] public enum ActivityFlags
type ActivityFlags =
A flag you can enable for debugging: when set, log messages will be printed during the resolution of this intent to show you what has been found to create the final resolved list.
If set, the new activity is not kept in the list of recently launched activities.
If set, this intent will not match any components in packages that are currently stopped.
If set and this intent is being used to launch a new activity from an existing one, then the reply target of the existing activity will be transfered to the new activity.
Can be set by the caller to indicate that this Intent is coming from a background operation, not from direct user interaction.
If set, the recipient of this Intent will be granted permission to perform read operations on the Uri in the Intent's data and any URIs specified in its ClipData.
If set, the recipient of this Intent will be granted permission to perform write operations on the Uri in the Intent's data and any URIs specified in its ClipData.
If set, this intent will always match any components in packages that are currently stopped.
This flag is not normally set by application code, but set for you by the system if this activity is being launched from history (longpress home key).
Do not use this flag unless you are implementing your own top-level application launcher. NewTask always
Because the default system does not include graphical task management, you should not use this flag unless you provide some way for a user to return back to the tasks you have launched.
See Tasks and Back Stack for more information about tasks.
If set, the new activity is not kept in the history stack.
If set, when sending a broadcast the recipient is allowed to run at foreground priority, with a shorter timeout interval.
If set, when sending a broadcast only registered receivers will be called -- no BroadcastReceiver components will be launched.
If set, and this activity is either being started in a new task or bringing to the top an existing task, then it will be launched as the front door of the task.
If set, the activity will not be launched if it is already running at the top of the history stack.