Android.Content.PM.PackageManager.GetPackagesForUid Method
Retrieve the names of all packages that are associated with a particular user id.

Syntax

[Android.Runtime.Register("getPackagesForUid", "(I)[Ljava/lang/String;", "GetGetPackagesForUid_IHandler")]
public abstract string[] GetPackagesForUid (int uid)

Parameters

uid
The user id for which you would like to retrieve the associated packages.

Returns

Documentation for this section has not yet been entered.

Remarks

Retrieve the names of all packages that are associated with a particular user id. In most cases, this will be a single package name, the package that has been assigned that user id. Where there are multiple packages sharing the same user id through the "sharedUserId" mechanism, all packages with that id will be returned.

[Android Documentation]

Requirements

Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1