Package io.rong.push.pushconfig
Interface PushRequestManager.ISetPushTokenResultCallback
-
- All Implemented Interfaces:
public interface PushRequestManager.ISetPushTokenResultCallback
-
-
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 -
-
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 typepushToken
- 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 typecode
- Error code for the failure
-
-
-
-