Condividi tramite


UserHandle.GetUserHandleForUid(Int32) Method

Definition

Returns the user for a given uid.

[Android.Runtime.Register("getUserHandleForUid", "(I)Landroid/os/UserHandle;", "", ApiSince=24)]
public static Android.OS.UserHandle? GetUserHandleForUid (int uid);
[<Android.Runtime.Register("getUserHandleForUid", "(I)Landroid/os/UserHandle;", "", ApiSince=24)>]
static member GetUserHandleForUid : int -> Android.OS.UserHandle

Parameters

uid
Int32

A uid for an application running in a particular user.

Returns

A UserHandle for that user.

Attributes

Remarks

Returns the user for a given uid.

Java documentation for android.os.UserHandle.getUserHandleForUid(int).

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