Language

PermissionInfoFlags Enum

Definition

Enumerates values returned by several types.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
None 0
CostsMoney 1

Flag for Flags, corresponding to costsMoney value of PermissionFlags.

HardRestricted 4

Flag for flags, corresponding to hardRestricted value of R.attr.permissionFlags. This permission is restricted by the platform and it would be grantable only to apps that meet special criteria per platform policy.

Android reference for android.content.pm.PermissionInfo.FLAG_HARD_RESTRICTED.

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.

SoftRestricted 8

Flag for flags, corresponding to softRestricted value of R.attr.permissionFlags. This permission is restricted by the platform and it would be grantable in its full form to apps that meet special criteria per platform policy. Otherwise, a weaker form of the permission would be granted. The weak grant depends on the permission.

Android reference for android.content.pm.PermissionInfo.FLAG_SOFT_RESTRICTED.

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.

ImmutablyRestricted 16

Flag for flags, corresponding to immutablyRestricted value of R.attr.permissionFlags. This permission is restricted immutably which means that its restriction state may be specified only on the first install of the app and will stay in this initial allowlist state until the app is uninstalled.

Android reference for android.content.pm.PermissionInfo.FLAG_IMMUTABLY_RESTRICTED.

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.

AllowedInPrivateComputeCore 32

Flag for flags, corresponding to allowedInPrivateComputeCore Determines whether this permission can be obtained by components running in the Private Compute Core restricted environment.

Android reference for android.content.pm.PermissionInfo.FLAG_ALLOWED_IN_PRIVATE_COMPUTE_CORE.

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.

Installed 1073741824

Flag for flags, indicating that this permission has been installed into the system's globally defined permissions.

Android reference for android.content.pm.PermissionInfo.FLAG_INSTALLED.

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.

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