Android.Content.PM.PackageManager.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 abstract IList<PackageInfo> GetPackagesHoldingPermissions (string[] permissions, [Android.Runtime.GeneratedEnum] PackageInfoFlags flags)

Parameters

permissions
Documentation for this section has not yet been entered.
flags
Additional option flags. Use any combination of PackageManager.GET_ACTIVITIES, PackageManager.GET_GIDS, PackageManager.GET_CONFIGURATIONS, PackageManager.GET_INSTRUMENTATION, PackageManager.GET_PERMISSIONS, PackageManager.GET_PROVIDERS, PackageManager.GET_RECEIVERS, PackageManager.GET_SERVICES, PackageManager.GET_SIGNATURES, 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.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18