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

Syntax

[Android.Runtime.Register("getInstalledApplications", "(I)Ljava/util/List;", "GetGetInstalledApplications_IHandler")]
public override IList<Android.Content.PM.ApplicationInfo> GetInstalledApplications ([Android.Runtime.GeneratedEnum] Android.Content.PM.PackageInfoFlags flags)

Parameters

flags
Additional option flags. Use any combination of Android.Content.PM.PackageManager.GET_META_DATA, Android.Content.PM.PackageManager.GET_SHARED_LIBRARY_FILES, 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 application packages that are installed on the device. If flag GET_UNINSTALLED_PACKAGES has been set, a list of all applications including those deleted with DONT_DELETE_DATA (partially installed apps with data directory) will be returned.

[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