Share via


MockPackageManager.GetInstallerPackageName(String) Method

Definition

Caution

deprecated

Retrieve the package name of the application that installed a package.

[Android.Runtime.Register("getInstallerPackageName", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetInstallerPackageName_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public override string? GetInstallerPackageName (string? packageName);
[<Android.Runtime.Register("getInstallerPackageName", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetInstallerPackageName_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
override this.GetInstallerPackageName : string -> string

Parameters

packageName
String

The name of the package to query

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