Protection Enum

Definition

Enumerates values returned by several types.

This enumeration supports a bitwise combination of its member values.

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

Fields

Dangerous 1

Dangerous value for ProtectionLevel, corresponding to the dangerous value of ProtectionLevel.

FlagAppop 64
FlagDevelopment 32

Additional flag for ProtectionLevel, corresponding to the development value of ProtectionLevel.

FlagInstaller 256
FlagInstant 4096
FlagPre23 128
FlagPreinstalled 1024
FlagPrivileged 16
FlagRuntimeOnly 8192
FlagSetup 2048
FlagSystem 16

Additional flag for ProtectionLevel, corresponding to the system value of ProtectionLevel.

FlagVerifier 512
Internal 4
MaskBase 15

Mask for ProtectionLevel: the basic protection type.

MaskFlags 65520

Mask for ProtectionLevel: additional flag bits.

Normal 0
Signature 2

System-level value for ProtectionLevel, corresponding to the signature value of ProtectionLevel.

SignatureOrSystem 3

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