# ISetPushTokenResultCallback

public interface ISetPushTokenResultCallback

## Functions

onError
Link copied to clipboard
public abstract void onError(PushErrorCode code, String errorInfo)
设置 token 失败回调
onFail
Link copied to clipboard
public abstract void onFail(PushType pushType, PushErrorCode code)
设置 token 服务端错误返回，回调
onSuccess
Link copied to clipboard
public abstract void onSuccess(PushType pushType, String pushToken, String message, Map<String, String> failMap)
设置 token 成功回调