PermissionInfoFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
| 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 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 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 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 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 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.