Condividi tramite


IntentSender.CreatorPackage Property

Definition

Return the package name of the application that created this IntentSender, that is the identity under which you will actually be sending the Intent.

public virtual string? CreatorPackage { [Android.Runtime.Register("getCreatorPackage", "()Ljava/lang/String;", "GetGetCreatorPackageHandler")] get; }
[<get: Android.Runtime.Register("getCreatorPackage", "()Ljava/lang/String;", "GetGetCreatorPackageHandler")>]
member this.CreatorPackage : string

Property Value

The package name of the PendingIntent, or null if there is none associated with it.

Attributes

Remarks

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

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

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