Compartir a través de


PackageManager.GetModuleInfo(String, Int32) Method

Definition

Retrieve information for a particular module.

[Android.Runtime.Register("getModuleInfo", "(Ljava/lang/String;I)Landroid/content/pm/ModuleInfo;", "GetGetModuleInfo_Ljava_lang_String_IHandler", ApiSince=29)]
public virtual Android.Content.PM.ModuleInfo GetModuleInfo (string packageName, int flags);
[<Android.Runtime.Register("getModuleInfo", "(Ljava/lang/String;I)Landroid/content/pm/ModuleInfo;", "GetGetModuleInfo_Ljava_lang_String_IHandler", ApiSince=29)>]
abstract member GetModuleInfo : string * int -> Android.Content.PM.ModuleInfo
override this.GetModuleInfo : string * int -> Android.Content.PM.ModuleInfo

Parameters

packageName
String

The name of the module.

flags
Int32

Additional option flags to modify the data returned.

Returns

A ModuleInfo object containing information about the module.

Attributes

Remarks

Retrieve information for a particular module.

Java documentation for android.content.pm.PackageManager.getModuleInfo(java.lang.String, 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