次の方法で共有


IntentSender.CreatorUserHandle Property

Definition

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

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

Property Value

The user handle of the PendingIntent, or null if there is none associated with it.

Attributes

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() Process.myUserHandle() for more explanation of user handles.

Java documentation for android.content.IntentSender.getCreatorUserHandle().

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