Android.Test.Mock.MockPackageManager.CheckSignatures Method
Like Android.Content.PM.PackageManager.CheckSignatures(string, System.String), but takes UIDs of the two packages to be checked.

Syntax

[Android.Runtime.Register("checkSignatures", "(II)I", "GetCheckSignatures_IIHandler")]
[return:Android.Runtime.GeneratedEnum]
public override Android.Content.PM.SignatureResult CheckSignatures (int uid1, int uid2)

Parameters

uid1
First UID whose signature will be compared.
uid2
Second UID whose signature will be compared.

Returns

Documentation for this section has not yet been entered.

Remarks

Like Android.Content.PM.PackageManager.CheckSignatures(string, System.String), but takes UIDs of the two packages to be checked. This can be useful, for example, when doing the check in an IPC, where the UID is the only identity available. It is functionally identical to determining the package associated with the UIDs and checking their signatures.

[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