Android.OS.Binder.CallingUserHandle Property
Return the UserHandle assigned to the process that sent you the current transaction that is being processed.

Syntax

[get: Android.Runtime.Register("getCallingUserHandle", "()Landroid/os/UserHandle;", "GetGetCallingUserHandleHandler")]
public static UserHandle CallingUserHandle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Return the UserHandle assigned to the process that sent you the current transaction that is being processed. This is the user of the caller. It is distinct from Binder.CallingUid in that a particular user will have multiple distinct apps running under it each with their own uid. If the current thread is not currently executing an incoming transaction, then its own UserHandle is returned.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17