Notification.SetLatestEventInfo 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.
Overloads
| Name | Description |
|---|---|
| SetLatestEventInfo(Context, ICharSequence, ICharSequence, PendingIntent) |
Obsolete.
Sets the |
| SetLatestEventInfo(Context, String, String, PendingIntent) |
Obsolete.
Sets the |
SetLatestEventInfo(Context, ICharSequence, ICharSequence, PendingIntent)
Caution
deprecated
Sets the #contentView field to be a view with the standard "Latest Event"
layout.
[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, Android.App.PendingIntent? contentIntent);
[<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")>]
abstract member SetLatestEventInfo : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence * Android.App.PendingIntent -> unit
override this.SetLatestEventInfo : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence * Android.App.PendingIntent -> unit
Parameters
- context
- Context
- contentTitle
- ICharSequence
- contentText
- ICharSequence
- contentIntent
- PendingIntent
- Attributes
Remarks
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
SetLatestEventInfo(Context, String, String, PendingIntent)
Caution
deprecated
Sets the #contentView field to be a view with the standard "Latest Event"
layout.
[System.Obsolete("deprecated")]
public void SetLatestEventInfo(Android.Content.Context? context, string? contentTitle, string? contentText, Android.App.PendingIntent? contentIntent);
[<System.Obsolete("deprecated")>]
member this.SetLatestEventInfo : Android.Content.Context * string * string * Android.App.PendingIntent -> unit
Parameters
- context
- Context
- contentTitle
- String
- contentText
- String
- contentIntent
- PendingIntent
- Attributes
Remarks
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.