Android.App.PendingIntent.CreatorUserHandle Property
Return the user handle of the application that created this PendingIntent, that is the user under which you will actually be sending the Intent.

Syntax

[get: Android.Runtime.Register("getCreatorUserHandle", "()Landroid/os/UserHandle;", "GetGetCreatorUserHandleHandler")]
public Android.OS.UserHandle CreatorUserHandle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Return the user handle of the application that created this PendingIntent, that is the user under which you will actually be sending the Intent. The returned UserHandle is supplied by the system, so that an application can not spoof its user. See Android.OS.Process.MyUserHandle for more explanation of user handles.

Be careful about how you use this. All this tells you is who created the PendingIntent. It does not tell you who handed the PendingIntent to you: that is, PendingIntent objects are intended to be passed between applications, so the PendingIntent you receive from an application could actually be one it received from another application, meaning the result you get here will identify the original application. Because of this, you should only use this information to identify who you expect to be interacting with through a PendingIntent.Send call, not who gave you the PendingIntent.

[Android Documentation]

Requirements

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