ActivityInfoFlags Enum

Definition

Enumerates values returned by several types.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ActivityInfoFlags
[<System.Flags>]
type ActivityInfoFlags = 
Inheritance
ActivityInfoFlags
Attributes

Fields

AllowTaskReparenting 64

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

AllowUntrustedActivityEmbedding 268435456
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
PreferMinimalPostProcessing 33554432
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

Remarks

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