Partager via


MockPackageManager.GetPackageUid(String, PackageInfoFlags) Method

Definition

[Android.Runtime.Register("getPackageUid", "(Ljava/lang/String;I)I", "GetGetPackageUid_Ljava_lang_String_IHandler", ApiSince=24)]
public override int GetPackageUid (string? packageName, Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("getPackageUid", "(Ljava/lang/String;I)I", "GetGetPackageUid_Ljava_lang_String_IHandler", ApiSince=24)>]
override this.GetPackageUid : string * Android.Content.PM.PackageInfoFlags -> int

Parameters

packageName
String

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