Package 

Object HuaweiMessagingDelegate

    • Method Detail

      • handleRemoteMessage

         final static Boolean handleRemoteMessage(RemoteMessage remoteMessage)

        Handles remoteMessage from Huawei. If the remoteMessage wasn't sent from the Stream Server and doesn't contain the needed data, return false to notify you that this remoteMessage needs to be handled by you.

        Parameters:
        remoteMessage - The message to be handled.
      • registerHuaweiToken

         final static Unit registerHuaweiToken(String token, String providerName)

        Register new Huawei Token.

        Parameters:
        token - provided by Huawei.
        providerName - Optional name for the provider name.