Android.Test.Mock.MockPackageManager.GetInstallerPackageName Method
Retrieve the package name of the application that installed a package.

Syntax

[Android.Runtime.Register("getInstallerPackageName", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetInstallerPackageName_Ljava_lang_String_Handler")]
public override string GetInstallerPackageName (string packageName)

Parameters

packageName
The name of the package to query

Returns

Documentation for this section has not yet been entered.

Remarks

Retrieve the package name of the application that installed a package. This identifies which market the package came from.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5