# SyncCallback

public abstract class SyncCallback<T> extends RongIMClient.ResultCallback<T>

## Constructors

RongIMClient.SyncCallback
Link copied to clipboard
public void RongIMClient.SyncCallback()

## Functions

onCallback
Link copied to clipboard
public void onCallback(T t)
onFail
Link copied to clipboard
public void onFail(int errorCode)
public void onFail(RongIMClient.ErrorCode errorCode)

## Inherited functions

onError
Link copied to clipboard
public abstract void onError(RongIMClient.ErrorCode e)
错误时回调。
onSuccess
Link copied to clipboard
public abstract void onSuccess(T t)
成功时回调。