共用方式為


PackageInfo.RequestedPermissionRequired Field

Definition

Caution

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

Flag for #requestedPermissionsFlags: the requested permission is required for the application to run; the user can not optionally disable it.

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

Field Value

Value = 1

Implements

Attributes

Remarks

Flag for #requestedPermissionsFlags: the requested permission is required for the application to run; the user can not optionally disable it. Currently all permissions are required.

Java documentation for android.content.pm.PackageInfo.REQUESTED_PERMISSION_REQUIRED.

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