다음을 통해 공유


PackageInfo.RequestedPermissionsFlags Property

Definition

Array of flags of all android.R.styleable#AndroidManifestUsesPermission <uses-permission> tags included under <manifest>, or null if there were none.

[Android.Runtime.Register("requestedPermissionsFlags")]
public System.Collections.Generic.IList<int>? RequestedPermissionsFlags { get; set; }
[<Android.Runtime.Register("requestedPermissionsFlags")>]
member this.RequestedPermissionsFlags : System.Collections.Generic.IList<int> with get, set

Property Value

Attributes

Remarks

Array of flags of all android.R.styleable#AndroidManifestUsesPermission &lt;uses-permission&gt; tags included under &lt;manifest&gt;, or null if there were none. This is only filled in if the flag PackageManager#GET_PERMISSIONS was set. Each value matches the corresponding entry in #requestedPermissions, and will have the flags #REQUESTED_PERMISSION_GRANTED and #REQUESTED_PERMISSION_NEVER_FOR_LOCATION set as appropriate.

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

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