Interface PushRequestManager.ISetPushTokenResultCallback

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(PushType pushType, String pushToken, String message, Map<String, String> failMap) Callback triggered when the token is successfully set
      abstract void onError(PushErrorCode code, String errorInfo) Callback triggered when setting the token fails
      abstract void onFail(PushType pushType, PushErrorCode code) Callback for token server-side error returns
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onSuccess

         abstract void onSuccess(PushType pushType, String pushToken, String message, Map<String, String> failMap)

        Callback triggered when the token is successfully set

        Parameters:
        pushType - Push notification type
        pushToken - The successfully set token value
      • onError

         abstract void onError(PushErrorCode code, String errorInfo)

        Callback triggered when setting the token fails

        Parameters:
        code - Error code indicating the failure
      • onFail

         abstract void onFail(PushType pushType, PushErrorCode code)

        Callback for token server-side error returns

        Parameters:
        pushType - Push notification type
        code - Error code for the failure