MockPackageManager.GetInstallerPackageName(String) 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.
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.