<legend id='qp8SO'><style id='qp8SO'><dir id='qp8SO'><q id='qp8SO'></q></dir></style></legend>

    <i id='qp8SO'><tr id='qp8SO'><dt id='qp8SO'><q id='qp8SO'><span id='qp8SO'><b id='qp8SO'><form id='qp8SO'><ins id='qp8SO'></ins><ul id='qp8SO'></ul><sub id='qp8SO'></sub></form><legend id='qp8SO'></legend><bdo id='qp8SO'><pre id='qp8SO'><center id='qp8SO'></center></pre></bdo></b><th id='qp8SO'></th></span></q></dt></tr></i><div id='qp8SO'><tfoot id='qp8SO'></tfoot><dl id='qp8SO'><fieldset id='qp8SO'></fieldset></dl></div>
      • <bdo id='qp8SO'></bdo><ul id='qp8SO'></ul>
        <tfoot id='qp8SO'></tfoot>

        <small id='qp8SO'></small><noframes id='qp8SO'>

        Android FCM 通知分组

        Android FCM notification grouping(Android FCM 通知分组)
        <legend id='E5RqW'><style id='E5RqW'><dir id='E5RqW'><q id='E5RqW'></q></dir></style></legend>
      1. <i id='E5RqW'><tr id='E5RqW'><dt id='E5RqW'><q id='E5RqW'><span id='E5RqW'><b id='E5RqW'><form id='E5RqW'><ins id='E5RqW'></ins><ul id='E5RqW'></ul><sub id='E5RqW'></sub></form><legend id='E5RqW'></legend><bdo id='E5RqW'><pre id='E5RqW'><center id='E5RqW'></center></pre></bdo></b><th id='E5RqW'></th></span></q></dt></tr></i><div id='E5RqW'><tfoot id='E5RqW'></tfoot><dl id='E5RqW'><fieldset id='E5RqW'></fieldset></dl></div>

            <bdo id='E5RqW'></bdo><ul id='E5RqW'></ul>

              <tbody id='E5RqW'></tbody>
              • <small id='E5RqW'></small><noframes id='E5RqW'>

                <tfoot id='E5RqW'></tfoot>
                  本文介绍了Android FCM 通知分组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试为聊天应用实现 FCM 通知,我想实现类似 WhatsApp"的通知,其中通知将按对话分组.

                  I was trying to implement FCM notification for a chat app and I want to achieve "WhatsApp-like" notification where the notification will be grouped by conversation.

                  假设当 Alice 回复与 Bob 在里面的对话时,Bob 将收到一条正文为Alice:内容"的通知.但是,如果 Alice 再次快速回复对话,Bob 将收到另一个新通知,但我只想将新回复附加到 prev 通知上.

                  Say when Alice replied to a conversation with Bob inside, Bob will receive a notification with the body "Alice: the content". But if Alice quickly reply to the conversation again, Bob will get another new notification but I just want to append the new reply onto the prev notification instead.

                  我怎样才能做到这一点?

                  How can I achieve that?

                  推荐答案

                  通过 grouping 通知,我假设您的意思是 stacking 或 捆绑通知.

                  By grouping the notification, I'm presuming you mean stacking or bundling notifications.

                  更多关于如何在客户端应用中处理通知.您只需使用 setGroup() 将所有通知添加到一个组,然后调用 notify() 让 NotificationManager 进行更改.

                  This is more on how you handle the notification in your client app. You simply have to make use of the setGroup() to add all your notifications to a single group then calling notify() to let the NotificationManager of the changes.

                  这个将每个通知添加到一个组文档差不多总结了这一切.

                  This Add Each Notification to a Group documentation pretty much sums it all up.

                  这篇关于Android FCM 通知分组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How can I use CClistview in COCOS2d Android?(如何在 COCOS2d Android 中使用 CClistview?)
                  cocos2d-android: how to display score(cocos2d-android:如何显示分数)
                  Sqlite database not copied from asset folder Android(Sqlite 数据库未从资产文件夹 Android 复制)
                  SQLite Database Copy Appears Corrupted When Generated by Device and not Emulator(SQLite 数据库副本在由设备而不是模拟器生成时出现损坏)
                  Android file copy(安卓文件拷贝)
                  Android how to detect Copy event of Edittext in android(Android如何在android中检测Edittext的Copy事件)

                    <i id='eXAkL'><tr id='eXAkL'><dt id='eXAkL'><q id='eXAkL'><span id='eXAkL'><b id='eXAkL'><form id='eXAkL'><ins id='eXAkL'></ins><ul id='eXAkL'></ul><sub id='eXAkL'></sub></form><legend id='eXAkL'></legend><bdo id='eXAkL'><pre id='eXAkL'><center id='eXAkL'></center></pre></bdo></b><th id='eXAkL'></th></span></q></dt></tr></i><div id='eXAkL'><tfoot id='eXAkL'></tfoot><dl id='eXAkL'><fieldset id='eXAkL'></fieldset></dl></div>
                    <legend id='eXAkL'><style id='eXAkL'><dir id='eXAkL'><q id='eXAkL'></q></dir></style></legend>
                    <tfoot id='eXAkL'></tfoot>
                      <tbody id='eXAkL'></tbody>
                  1. <small id='eXAkL'></small><noframes id='eXAkL'>

                      • <bdo id='eXAkL'></bdo><ul id='eXAkL'></ul>