ISetPushTokenResultCallback

Functions

Link copied to clipboard
public abstract void onError(PushErrorCode code, String errorInfo)
Callback triggered when setting the token fails
Link copied to clipboard
public abstract void onFail(PushType pushType, PushErrorCode code)
Callback for token server-side error returns
Link copied to clipboard
public abstract void onSuccess(PushType pushType, String pushToken, String message, Map<String, String> failMap)
Callback triggered when the token is successfully set