15#import <Foundation/Foundation.h>
16#import "EMChatMessageStatistics.h"
25typedef NS_ENUM(NSUInteger, EMMessageStatisticsDirection) {
26 EMMessageStatisticsDirectionSend = 0,
27 EMMessageStatisticsDirectionReceive,
28 EMMessageStatisticsDirectionAll = 100,
38typedef NS_ENUM(NSUInteger, EMMessageStatisticsType) {
39 EMMessageStatisticsTypeText = 0,
40 EMMessageStatisticsTypeImage,
41 EMMessageStatisticsTypeVideo,
42 EMMessageStatisticsTypeLocation,
43 EMMessageStatisticsTypeVoice,
44 EMMessageStatisticsTypeFile,
45 EMMessageStatisticsTypeCmd,
46 EMMessageStatisticsTypeCustom,
47 EMMessageStatisticsTypeAll = 100,
138- (NSInteger)getMessageCountWithStart:(NSInteger)startTimestamp
139 end:(NSInteger)endTimestamp
140 direction:(EMMessageStatisticsDirection)direction
141 type:(EMMessageStatisticsType)type;
167- (NSInteger)getMessageStatisticsSizeWithStart:(NSInteger)startTimestamp
168 end:(NSInteger)endTimestamp
169 direction:(EMMessageStatisticsDirection)direction
170 type:(EMMessageStatisticsType)type;
Definition: EMChatMessageStatistics.h:28
Definition: IEMStatisticsManager.h:99