Android.Test.Mock.MockPackageManager.GetPackagesHoldingPermissions Method
Return a List of all installed packages that are currently holding any of the given permissions.

Syntax

[Android.Runtime.Register("getPackagesHoldingPermissions", "([Ljava/lang/String;I)Ljava/util/List;", "GetGetPackagesHoldingPermissions_arrayLjava_lang_String_IHandler")]
public override IList<Android.Content.PM.PackageInfo> GetPackagesHoldingPermissions (string[] permissions, [Android.Runtime.GeneratedEnum] Android.Content.PM.PackageInfoFlags flags)

Parameters

permissions
Documentation for this section has not yet been entered.
flags
Additional option flags. Use any combination of Android.Content.PM.PackageManager.GET_ACTIVITIES, Android.Content.PM.PackageManager.GET_GIDS, Android.Content.PM.PackageManager.GET_CONFIGURATIONS, Android.Content.PM.PackageManager.GET_INSTRUMENTATION, Android.Content.PM.PackageManager.GET_PERMISSIONS, Android.Content.PM.PackageManager.GET_PROVIDERS, Android.Content.PM.PackageManager.GET_RECEIVERS, Android.Content.PM.PackageManager.GET_SERVICES, Android.Content.PM.PackageManager.GET_SIGNATURES, Android.Content.PM.PackageManager.GET_UNINSTALLED_PACKAGES to modify the data returned.

Returns

Documentation for this section has not yet been entered.

Remarks

Return a List of all installed packages that are currently holding any of the given permissions.

[Android Documentation]

Requirements

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