Megosztás a következőn keresztül:


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

Name Value Description
Normal 0
Dangerous 1

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

Signature 2

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

SignatureOrSystem 3
Internal 4
MaskBase 15

Mask for ProtectionLevel: the basic protection type.

FlagPrivileged 16
FlagSystem 16

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

FlagDevelopment 32

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

FlagAppop 64
FlagPre23 128
FlagInstaller 256
FlagVerifier 512
FlagPreinstalled 1024
FlagSetup 2048
FlagInstant 4096
FlagRuntimeOnly 8192
MaskFlags 65520

Mask for ProtectionLevel: additional flag bits.

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