# SyncCallback

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

## Constructors

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

## Functions

onCallback
Link copied to clipboard
public void onCallback(T t)
onFail
Link copied to clipboard
public void onFail(IRongCoreEnum.CoreErrorCode coreErrorCode)
public void onFail(int errorCode)

## Inherited functions

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