PackageManager.GetPermissionGroupInfo(String, PackageInfoFlags) Method
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.
Retrieve all of the information we know about a particular group of permissions.
[Android.Runtime.Register("getPermissionGroupInfo", "(Ljava/lang/String;I)Landroid/content/pm/PermissionGroupInfo;", "GetGetPermissionGroupInfo_Ljava_lang_String_IHandler")]
public abstract Android.Content.PM.PermissionGroupInfo GetPermissionGroupInfo (string groupName, Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("getPermissionGroupInfo", "(Ljava/lang/String;I)Landroid/content/pm/PermissionGroupInfo;", "GetGetPermissionGroupInfo_Ljava_lang_String_IHandler")>]
abstract member GetPermissionGroupInfo : string * Android.Content.PM.PackageInfoFlags -> Android.Content.PM.PermissionGroupInfo
Parameters
- groupName
- String
The fully qualified name (i.e. com.google.permission_group.APPS) of the permission you are interested in.
- flags
- PackageInfoFlags
Additional option flags to modify the data returned.
Returns
Returns a PermissionGroupInfo
containing information
about the permission.
- Attributes
Exceptions
Remarks
Retrieve all of the information we know about a particular group of permissions.
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.