Process.MyUserHandle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns this process's user handle.
[Android.Runtime.Register("myUserHandle", "()Landroid/os/UserHandle;", "")]
public static Android.OS.UserHandle? MyUserHandle ();
[<Android.Runtime.Register("myUserHandle", "()Landroid/os/UserHandle;", "")>]
static member MyUserHandle : unit -> Android.OS.UserHandle
Returns
- Attributes
Remarks
Returns this process's user handle. This is the user the process is running under. It is distinct from #myUid()
in that a particular user will have multiple distinct apps running under it each with their own uid.
Java documentation for android.os.Process.myUserHandle()
.
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.