ShengwangChatSDK 1.3.2
属性 | 所有成员列表
AgoraChatMessageStatistics类 参考

#import <AgoraChatMessageStatistics.h>

类 AgoraChatMessageStatistics 继承关系图:

属性

NSString * messageId
 
NSString * to
 
NSString * from
 
AgoraChatMessageBodyType type
 
AgoraChatType chatType
 
AgoraChatMessageDirection direction
 
NSUInteger messageSize
 
NSUInteger attachmentSize
 
NSUInteger thumbnailSize
 
NSUInteger timestamp
 

详细描述

@header AgoraChatMessageStatistics.h @abstract The message traffic statistics model.

作者
Hyphenate
版本
3.00 The message traffic statistics.

属性说明

◆ attachmentSize

- (NSUInteger) attachmentSize
readnonatomicassign

The amount of traffic for the message attachment.

The traffic is measured in bytes.

◆ chatType

- (AgoraChatType) chatType
readnonatomicassign

The chat type.

◆ direction

- (AgoraChatMessageDirection) direction
readnonatomicassign

The message direction:

  • Send: Messages sent by the current user;
  • Receive: Messages received by the current user.

◆ from

- (NSString*) from
readnonatomicstrong

The user ID of the message sender.

◆ messageId

- (NSString*) messageId
readnonatomicstrong

The message ID, which is the unique identifier of the message.

◆ messageSize

- (NSUInteger) messageSize
readnonatomicassign

The amount of traffic for the message body.

The traffic is measured in bytes.

◆ thumbnailSize

- (NSUInteger) thumbnailSize
readnonatomicassign

The amount of traffic for the thumbnail.

The traffic is measured in bytes.

◆ timestamp

- (NSUInteger) timestamp
readnonatomicassign

The Unix timestamp for the Chat server receiving the message.

The Unix timestamp is in the unit of millisecond.

◆ to

- (NSString*) to
readnonatomicstrong

The user ID of the message recipient.

◆ type

- (AgoraChatMessageBodyType) type
readnonatomicassign

The message body type.


该类的文档由以下文件生成: