Android.Test.Mock.MockPackageManager.VerifyPendingInstall Method
Allows a package listening to the Android.Content.Intent.ActionPackageNeedsVerification to respond to the package manager.

Syntax

[Android.Runtime.Register("verifyPendingInstall", "(II)V", "GetVerifyPendingInstall_IIHandler")]
public override void VerifyPendingInstall (int id, [Android.Runtime.GeneratedEnum] Android.Content.PM.PackageInstallVerification verificationCode)

Parameters

id
pending package identifier as passed via the Android.Content.PM.PackageManager.ExtraVerificationId Intent extra.
verificationCode
either Android.Content.PM.PackageManager.VerificationAllow or Android.Content.PM.PackageManager.VerificationReject.

Remarks

Allows a package listening to the Android.Content.Intent.ActionPackageNeedsVerification to respond to the package manager. The response must include the verificationCode which is one of Android.Content.PM.PackageManager.VerificationAllow or Android.Content.PM.PackageManager.VerificationReject.

[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 14