PackageManager.FlagPermissionWhitelistInstaller Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.PM.FlagPermission enum directly instead of this field.

Permission whitelist flag: permissions whitelisted by the installer.

[Android.Runtime.Register("FLAG_PERMISSION_WHITELIST_INSTALLER", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.FlagPermission enum directly instead of this field.", true)]
public const Android.Content.PM.FlagPermission FlagPermissionWhitelistInstaller = 2;
[<Android.Runtime.Register("FLAG_PERMISSION_WHITELIST_INSTALLER", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.FlagPermission enum directly instead of this field.", true)>]
val mutable FlagPermissionWhitelistInstaller : Android.Content.PM.FlagPermission

Field Value

Value = 2
Attributes

Remarks

Permission whitelist flag: permissions whitelisted by the installer. Permissions can also be whitelisted by the system, on upgrade, or on role grant.

<strong>Note: </strong>In retrospect it would have been preferred to use more inclusive terminology when naming this API. Similar APIs added will refrain from using the term "whitelist".

Java documentation for android.content.pm.PackageManager.FLAG_PERMISSION_WHITELIST_INSTALLER.

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