語言

Notification.SetLatestEventInfo 方法

定義

多載

名稱 Description
SetLatestEventInfo(Context, ICharSequence, ICharSequence, PendingIntent)
已淘汰.

將場地設定 #contentView 為標準的「最新事件」佈局。

SetLatestEventInfo(Context, String, String, PendingIntent)
已淘汰.

將場地設定 #contentView 為標準的「最新事件」佈局。

SetLatestEventInfo(Context, ICharSequence, ICharSequence, PendingIntent)

警告

deprecated

將場地設定 #contentView 為標準的「最新事件」佈局。

[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

參數

context
Context
contentTitle
ICharSequence
contentText
ICharSequence
contentIntent
PendingIntent
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

SetLatestEventInfo(Context, String, String, PendingIntent)

警告

deprecated

將場地設定 #contentView 為標準的「最新事件」佈局。

[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

參數

context
Context
contentTitle
String
contentText
String
contentIntent
PendingIntent
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於