recordHWNotificationEvent

public static void recordHWNotificationEvent(Intent intent)

统计华为push点击事件 如果用户没有在开发者后台自定义intent,则需要在配置的会话列表界面的activity的onCreate方法里面调用该接口 示例:

if(intent != null && intent.getData() != null && intent.getData().getScheme() != null
              && intent.getData().getScheme().equals("rong")
              && intent.getData().getQueryParameter("isFromPush") != null
              && intent.getData().getQueryParameter("isFromPush").equals("true")){
                  RongPushClient.recordHWNotificationEvent(intent);
              }

如果用户在开发者后台自定义了华为推送点击传入的intent,则需要在自己配置的activity里面过滤intent,根据你自定义的intent过滤出intent,并调用该接口。

Parameters

intent

点解华为push传入的intent.