recordHWNotificationEvent

public static void recordHWNotificationEvent(Intent intent)

Tracks Huawei push click events. If the user has not customized the intent in the developer console, this interface needs to be called in the `onCreate` method of the activity configured for the conversation list UI. Example:

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);
              }

If the user has customized the intent for Huawei push clicks in the developer console, the intent needs to be filtered in the configured activity based on the custom intent, and then this interface should be called.

Parameters

intent

The intent passed from the Huawei push click.