Chat SDK for Unity and Windows v1.2.0
Public Member Functions | Public Attributes | List of all members
AgoraChat.CallBack Class Reference
Inheritance diagram for AgoraChat.CallBack:
AgoraChat.ValueCallBack< T >

Public Member Functions

 CallBack (Action onSuccess=null, OnProgress onProgress=null, OnError onError=null)
 

Public Attributes

Action Success
 
OnError Error
 
OnProgress Progress
 

Detailed Description

The class of callbacks without a return value.

Constructor & Destructor Documentation

◆ CallBack()

AgoraChat.CallBack.CallBack ( Action  onSuccess = null,
OnProgress  onProgress = null,
OnError  onError = null 
)

The result callback constructor.

Parameters
onSuccessThe success callback.
onProgressThe progress callback.
onErrorThe error callback.

Member Data Documentation

◆ Success

Action AgoraChat.CallBack.Success

The success callback.

◆ Error

OnError AgoraChat.CallBack.Error

The error callback.

◆ Progress

OnProgress AgoraChat.CallBack.Progress

The progress callback.