PackageManager.GetPackageArchiveInfo(String, PackageInfoFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve overall information about an application package defined in a package archive file
[Android.Runtime.Register("getPackageArchiveInfo", "(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;", "GetGetPackageArchiveInfo_Ljava_lang_String_IHandler")]
public virtual Android.Content.PM.PackageInfo? GetPackageArchiveInfo (string archiveFilePath, Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("getPackageArchiveInfo", "(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;", "GetGetPackageArchiveInfo_Ljava_lang_String_IHandler")>]
abstract member GetPackageArchiveInfo : string * Android.Content.PM.PackageInfoFlags -> Android.Content.PM.PackageInfo
override this.GetPackageArchiveInfo : string * Android.Content.PM.PackageInfoFlags -> Android.Content.PM.PackageInfo
Parameters
- archiveFilePath
- String
The path to the archive file
- flags
- PackageInfoFlags
Additional option flags to modify the data returned.
Returns
A PackageInfo object containing information about the package archive. If the package could not be parsed, returns null.
- 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.