Language

Notification.MessagingStyle.SetGroupConversation(Boolean) メソッド

定義

この会話通知がグループを表すかどうかを設定します。

[Android.Runtime.Register("setGroupConversation", "(Z)Landroid/app/Notification$MessagingStyle;", "GetSetGroupConversation_ZHandler", ApiSince=28)]
public virtual Android.App.Notification.MessagingStyle? SetGroupConversation(bool isGroupConversation);
[<Android.Runtime.Register("setGroupConversation", "(Z)Landroid/app/Notification$MessagingStyle;", "GetSetGroupConversation_ZHandler", ApiSince=28)>]
abstract member SetGroupConversation : bool -> Android.App.Notification.MessagingStyle
override this.SetGroupConversation : bool -> Android.App.Notification.MessagingStyle

パラメーター

isGroupConversation
Boolean

boolean: 会話がグループを表す場合は true、それ以外の場合は false。

返品

メソッドチェーン用のこのオブジェクト

属性

注釈

この会話通知がグループを表すかどうかを設定します。 アプリが Android P を対象としている場合、これは、アプリが Notification.Builder.setLargeIcon(Bitmap) を使用して largeIcon セットを表示する場合に必要です。それ以外の場合は非表示になります。

このページのコンテンツおよびコード サンプルは、コンテンツ ライセンスに記載されているライセンスの対象となります。 Java と OpenJDK は、Oracle やその関連会社の商標または登録商標です。

最終更新日: 2026-08-03 UTC。

android.app.Notification.MessagingStyle.setGroupConversationの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象