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

Public Member Functions

 ValueCallBack (Action< T > onSuccess=null, OnError onError=null)
 
- Public Member Functions inherited from AgoraChat.CallBack
 CallBack (Action onSuccess=null, OnProgress onProgress=null, OnError onError=null)
 

Public Attributes

Action< T > OnSuccessValue
 
- Public Attributes inherited from AgoraChat.CallBack
Action Success
 
OnError Error
 
OnProgress Progress
 

Detailed Description

The class of callbacks with a return value.

Constructor & Destructor Documentation

◆ ValueCallBack()

AgoraChat.ValueCallBack< T >.ValueCallBack ( Action< T >  onSuccess = null,
OnError  onError = null 
)

The constructor for the class of callbacks with a return value.

Parameters
onSuccessThe success callback.
onErrorThe error callback.

Member Data Documentation

◆ OnSuccessValue

Action<T> AgoraChat.ValueCallBack< T >.OnSuccessValue

The success callback with a return value.