Partager via


MockPackageManager.GetInstalledApplications(PackageInfoFlags) Method

Definition

Return a List of all application packages that are installed on the device.

[Android.Runtime.Register("getInstalledApplications", "(I)Ljava/util/List;", "GetGetInstalledApplications_IHandler")]
public override System.Collections.Generic.IList<Android.Content.PM.ApplicationInfo>? GetInstalledApplications (Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("getInstalledApplications", "(I)Ljava/util/List;", "GetGetInstalledApplications_IHandler")>]
override this.GetInstalledApplications : Android.Content.PM.PackageInfoFlags -> System.Collections.Generic.IList<Android.Content.PM.ApplicationInfo>

Parameters

flags
PackageInfoFlags

Additional option flags. Use any combination of MetaData, SharedLibraryFiles, UninstalledPackages to modify the data returned.

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to