Notification.ProjectedExtender.SetContentIntent(PendingIntent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the PendingIntent to be opened on the Projected device when the notification is tapped on the that device.
[Android.Runtime.Register("setContentIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$ProjectedExtender;", "", ApiSince=37)]
public Android.App.Notification.ProjectedExtender SetContentIntent(Android.App.PendingIntent? intent);
[<Android.Runtime.Register("setContentIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$ProjectedExtender;", "", ApiSince=37)>]
member this.SetContentIntent : Android.App.PendingIntent -> Android.App.Notification.ProjectedExtender
Parameters
- intent
- PendingIntent
the PendingIntent to fire on tap. This value may be null.
Returns
this ProjectedExtender object for chaining. This value cannot be null.
- Attributes
Remarks
Sets the PendingIntent to be opened on the Projected device when the notification is tapped on the that device. This is distinct from the notification's main Notification.contentIntent, which is typically fired when the notification is tapped on the host device (e.g., the phone).
Android reference for android.app.Notification.ProjectedExtender.setContentIntent.
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.