# ResultCallback

public abstract class ResultCallback<T>

泛型类，用于 API 中功能的回调处理。

#### Inheritors

SyncCallback
SendMessageCallback
UploadMediaCallback
DownloadMediaCallback
GetNotificationQuietHoursCallback
GetBlacklistCallback
GetNotificationQuietHoursCallbackEx

## Constructors

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

## Types

Result
Link copied to clipboard
public class Result<T>

## Functions

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