Compartir a través de


PackageManager.GetInstalledModules(Int32) Method

Definition

Return a List of all modules that are installed.

[Android.Runtime.Register("getInstalledModules", "(I)Ljava/util/List;", "GetGetInstalledModules_IHandler", ApiSince=29)]
public virtual System.Collections.Generic.IList<Android.Content.PM.ModuleInfo> GetInstalledModules (int flags);
[<Android.Runtime.Register("getInstalledModules", "(I)Ljava/util/List;", "GetGetInstalledModules_IHandler", ApiSince=29)>]
abstract member GetInstalledModules : int -> System.Collections.Generic.IList<Android.Content.PM.ModuleInfo>
override this.GetInstalledModules : int -> System.Collections.Generic.IList<Android.Content.PM.ModuleInfo>

Parameters

flags
Int32

Additional option flags to modify the data returned.

Returns

A List of ModuleInfo objects, one for each installed module, containing information about the module. In the unlikely case there are no installed modules, an empty list is returned.

Attributes

Remarks

Return a List of all modules that are installed.

Java documentation for android.content.pm.PackageManager.getInstalledModules(int).

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