Udostępnij za pośrednictwem


IntentSender.CreatorUid Property

Definition

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

public virtual int CreatorUid { [Android.Runtime.Register("getCreatorUid", "()I", "GetGetCreatorUidHandler")] get; }
[<get: Android.Runtime.Register("getCreatorUid", "()I", "GetGetCreatorUidHandler")>]
member this.CreatorUid : int

Property Value

The uid of the PendingIntent, or -1 if there is none associated with it.

Attributes

Remarks

Return the uid of the application that created this PendingIntent, that is the identity under which you will actually be sending the Intent. The returned integer is supplied by the system, so that an application can not spoof its uid.

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

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