API

TMFPushMessage-通知栏消息数据结构

实现自定义通知栏,自定义通知栏样式时,通知栏展示相关的数据将通过 TMFPushMessage 数据体传给调用方。数据体结构如下:

public class TMFPushMessage implements Serializable {

    public static final int OPEN_APP = 1;
    public static final int OPEN_URL = 2;
    public static final int OPEN_ACTIVITY = 3;

    private String title;
    private String content;
    private String jsonExtra;//附加参数
    private int jumpType;//跳转类型:1-打开应用;2-跳转url;3-跳转指定页面
    private String jumpParam;//跳转参数

    ...
}
Copyright © 2013-2023 Tencent Cloud. all right reserved,powered by GitbookUpdate Time 2023-08-31 14:46:07

results matching ""

    No results matching ""