Android.App.Notification.SetLatestEventInfo Method
Sets the Notification.ContentView field to be a view with the standard "Latest Event" layout.

Syntax

[Android.Runtime.Register("setLatestEventInfo", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "GetSetLatestEventInfo_Landroid_content_Context_Ljava_lang_CharSequence_Ljava_lang_CharSequence_Landroid_app_PendingIntent_Handler")]
[System.Obsolete("deprecated")]
public virtual void SetLatestEventInfo (Android.Content.Context context, Java.Lang.ICharSequence contentTitle, Java.Lang.ICharSequence contentText, PendingIntent contentIntent)

Parameters

context
The context for your application or 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 field 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.

[Android Documentation]

Requirements

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