Sdílet prostřednictvím


PackageManager.GetArchivedPackage(String) Method

Definition

Return archived package info for the package or null if the package is not installed.

[Android.Runtime.Register("getArchivedPackage", "(Ljava/lang/String;)Landroid/content/pm/ArchivedPackageInfo;", "GetGetArchivedPackage_Ljava_lang_String_Handler", ApiSince=35)]
public virtual Android.Content.PM.ArchivedPackageInfo? GetArchivedPackage (string packageName);
[<Android.Runtime.Register("getArchivedPackage", "(Ljava/lang/String;)Landroid/content/pm/ArchivedPackageInfo;", "GetGetArchivedPackage_Ljava_lang_String_Handler", ApiSince=35)>]
abstract member GetArchivedPackage : string -> Android.Content.PM.ArchivedPackageInfo
override this.GetArchivedPackage : string -> Android.Content.PM.ArchivedPackageInfo

Parameters

packageName
String

Returns

Attributes

Remarks

Return archived package info for the package or null if the package is not installed.

Java documentation for android.content.pm.PackageManager.getArchivedPackage(java.lang.String).

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