共用方式為


PackageManager.FlagPermissionWhitelistSystem 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 system.

[Android.Runtime.Register("FLAG_PERMISSION_WHITELIST_SYSTEM", 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 FlagPermissionWhitelistSystem = 1;
[<Android.Runtime.Register("FLAG_PERMISSION_WHITELIST_SYSTEM", 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 FlagPermissionWhitelistSystem : Android.Content.PM.FlagPermission

Field Value

Value = 1
Attributes

Remarks

Permission whitelist flag: permissions whitelisted by the system. Permissions can also be whitelisted by the installer, 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_SYSTEM.

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