Android.Test.Mock.MockPackageManager.QueryPermissionsByGroup Method
Query for all of the permissions associated with a particular group.

Syntax

[Android.Runtime.Register("queryPermissionsByGroup", "(Ljava/lang/String;I)Ljava/util/List;", "GetQueryPermissionsByGroup_Ljava_lang_String_IHandler")]
public override IList<Android.Content.PM.PermissionInfo> QueryPermissionsByGroup (string group, [Android.Runtime.GeneratedEnum] Android.Content.PM.PackageInfoFlags flags)

Parameters

group
The fully qualified name (i.e. com.google.permission.LOGIN) of the permission group you are interested in. Use null to find all of the permissions not associated with a group.
flags
Additional option flags. Use Android.Content.PM.PackageManager.GET_META_DATA to retrieve any meta-data associated with the permissions.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
!:NoType:android/content/pm/PackageManager$NameNotFoundException;Href=../../../../reference/android/content/pm/PackageManager.NameNotFoundException.html

Remarks

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1