Android.App.Notification.SetLatestEventInfo Method
Sets the Notification.ContentView property to be a view with the standard "Latest Event" layout. Uses the Notification.Icon and Notification.When fields to set the icon and time fields in the view.

Syntax

[System.Obsolete("deprecated")]
public void SetLatestEventInfo (Android.Content.Context context, string contentTitle, string contentText, PendingIntent contentIntent)

Parameters

context
The context for your application / activity.
contentTitle
The title that goes in the expanded entry.
contentText
The text that goes in the expanded entry.
contentIntent
The intent to launch when the user clicks the expanded notification. If this is an activity, it must include the Android.Content.ActivityFlags.NewTask flag, which requires that you take care of task management as described in the Tasks and Back Stack document.

Remarks

Sets the Notification.ContentView property to be a view with the standard "Latest Event" layout. Uses the Notification.Icon and Notification.When fields to set the icon and time fields in the view.

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1