9#import <Foundation/Foundation.h> 
   10#import "AgoraChatMessageStatistics.h" 
   16typedef NS_ENUM(NSUInteger, AgoraChatMessageStatisticsDirection) {
 
   17    AgoraChatMessageStatisticsDirectionSend = 0, 
 
   18    AgoraChatMessageStatisticsDirectionReceive, 
 
   19    AgoraChatMessageStatisticsDirectionAll = 100, 
 
   26typedef NS_ENUM(NSUInteger, AgoraChatMessageStatisticsType) {
 
   27    AgoraChatMessageStatisticsTypeText = 0, 
 
   28    AgoraChatMessageStatisticsTypeImage,  
 
   29    AgoraChatMessageStatisticsTypeVideo,  
 
   30    AgoraChatMessageStatisticsTypeLocation, 
 
   31    AgoraChatMessageStatisticsTypeVoice, 
 
   32    AgoraChatMessageStatisticsTypeFile, 
 
   33    AgoraChatMessageStatisticsTypeCmd, 
 
   34    AgoraChatMessageStatisticsTypeCustom, 
 
   35    AgoraChatMessageStatisticsTypeAll = 100, 
 
   90- (NSInteger)getMessageCountWithStart:(NSInteger)startTimestamp
 
   91                                  end:(NSInteger)endTimestamp
 
   92                            direction:(AgoraChatMessageStatisticsDirection)direction
 
   93                                 type:(AgoraChatMessageStatisticsType)type;
 
  108- (NSInteger)getMessageStatisticsSizeWithStart:(NSInteger)startTimestamp
 
  109                                           end:(NSInteger)endTimestamp
 
  110                                     direction:(AgoraChatMessageStatisticsDirection)direction
 
  111                                          type:(AgoraChatMessageStatisticsType)type;
 
Definition: AgoraChatError.h:18
Definition: AgoraChatMessageStatistics.h:19
Definition: IAgoraChatStatisticsManager.h:66