Aracılığıyla paylaş


Notification.ContentIntent Property

Definition

The intent to execute when the expanded status entry is clicked.

[Android.Runtime.Register("contentIntent")]
public Android.App.PendingIntent? ContentIntent { get; set; }
[<Android.Runtime.Register("contentIntent")>]
member this.ContentIntent : Android.App.PendingIntent with get, set

Property Value

Attributes

Remarks

The intent to execute when the expanded status entry is clicked. If this is an activity, it must include the android.content.Intent#FLAG_ACTIVITY_NEW_TASK flag, which requires that you take care of task management as described in the Tasks and Back Stack document. In particular, make sure to read the Start an Activity from a Notification page for the correct ways to launch an application from a notification.

Java documentation for android.app.Notification.contentIntent.

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