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)
设置 token 成功回调 abstract void
onError(PushErrorCode code, String errorInfo)
设置 token 失败回调 abstract void
onFail(PushType pushType, PushErrorCode code)
设置 token 服务端错误返回,回调 -
-
Method Detail
-
onSuccess
abstract void onSuccess(PushType pushType, String pushToken, String message, Map<String, String> failMap)
设置 token 成功回调
- Parameters:
pushType
- 推送类型pushToken
- 设置成功的 token 值
-
onError
abstract void onError(PushErrorCode code, String errorInfo)
设置 token 失败回调
- Parameters:
code
- 失败错误码
-
onFail
abstract void onFail(PushType pushType, PushErrorCode code)
设置 token 服务端错误返回,回调
- Parameters:
pushType
- 推送类型code
- 失败错误码
-
-
-
-