Android.Test.Mock.MockPackageManager.GetInstalledPackages Method
Return a List of all packages that are installed on the device.

Syntax

[Android.Runtime.Register("getInstalledPackages", "(I)Ljava/util/List;", "GetGetInstalledPackages_IHandler")]
public override IList<Android.Content.PM.PackageInfo> GetInstalledPackages ([Android.Runtime.GeneratedEnum] Android.Content.PM.PackageInfoFlags flags)

Parameters

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 packages that are installed on the device.

[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 1