hyphenate_SDK3.0  3.8.5
hyphenatejavaIMSDK
Public Member Functions | List of all members
com.hyphenate.EMValueCallBack< T > Interface Template Reference

Public Member Functions

void onSuccess (T value)
 
void onError (final int error, final String errorMsg)
 

Detailed Description

Callback with return value Callback without return value, see EMCallBack

Parameters
<T>value Return type

Member Function Documentation

void com.hyphenate.EMValueCallBack< T >.onError ( final int  error,
final String  errorMsg 
)

Callback when request fails

Parameters
errorError code, see EMError
errorMsgError description
void com.hyphenate.EMValueCallBack< T >.onSuccess ( value)

Callback on request successfully

Parameters
valueT class passed by app

The documentation for this interface was generated from the following file: