Package io.rong.imlib
        Interface IRongCoreCallback.SubscribeEventCallback
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            io.rong.imlib.IRongCoreCallback.OperationCallbackEx
 
 public interface IRongCoreCallback.SubscribeEventCallback<T> implements IRongCoreCallback.OperationCallbackEx<T> Callback interface for handling subscription events. This interface defines callback methods for successful and failed subscription operations. - Since:
- 5.8.0 
 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract voidonError(int errorCode, T errorData)voidonError(IRongCoreEnum.CoreErrorCode errorCode, T errorData)Called when the operation fails. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        onErrorvoid onError(IRongCoreEnum.CoreErrorCode errorCode, T errorData) Called when the operation fails. - Parameters:
- errorCode- The error code indicating the reason for failure.
- errorData- Additional information associated with the error code, whose type is specified by the generic parameter of the interface.
 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-