ActivityInfoFlags Enum


Enumerates values returned by several types.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum ActivityInfoFlags
type ActivityInfoFlags = 


AllowTaskReparenting 64

Bit in Flagsthat indicates that the activity can be moved between tasks based on its task affinity.

AlwaysRetainTaskState 8

Bit in Flagsindicating that, when the activity is the root of a task, that task's stack should never be cleared when it is relaunched from home.

AutoRemoveFromRecents 8192
ClearTaskOnLaunch 4
EnableVrMode 32768
ExcludeFromRecents 32

Bit in Flagsthat indicates that the activity should not appear in the list of recently launched activities.

FinishOnCloseSystemDialogs 256
FinishOnTaskLaunch 2
HardwareAccelerated 512

Value for Flags: true when the application's rendering should be hardware accelerated.

Immersive 2048
Multiprocess 1

Bit in Flagsindicating whether this activity is able to run in multiple processes.

NoHistory 128
None 0
RelinquishTaskIdentity 4096
ResumeWhilePausing 16384
SingleUser 1073741824

Bit in Flags: If set, a single instance of the receiver will run for all users on the device.

StateNotNeeded 16


Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to