HyphenateChatSDK  4.6.0
Properties | List of all members
EMChatMessageStatistics Class Reference

#import <EMChatMessageStatistics.h>

Inheritance diagram for EMChatMessageStatistics:

Properties

NSString * messageId
 
NSString * to
 
NSString * from
 
EMMessageBodyType type
 
EMChatType chatType
 
EMMessageDirection direction
 
NSUInteger messageSize
 
NSUInteger attachmentSize
 
NSUInteger thumbnailSize
 
NSUInteger timestamp
 

Detailed Description

EMChatMessageStatistics.h The message traffic statistics model.

Author
Hyphenate
Version
3.00

The message traffic statistics.

Property Documentation

- (NSUInteger) attachmentSize
readnonatomicassign

The amount of traffic for the message attachment.

The traffic is measured in bytes.

- (EMChatType) chatType
readnonatomicassign

The chat type.

- (EMMessageDirection) direction
readnonatomicassign

The message direction:

  • Send: Messages sent by the current user;
  • Receive: Messages received by the current user.
- (NSString*) from
readnonatomicstrong

The user ID of the message sender.

- (NSString*) messageId
readnonatomicstrong

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

- (NSUInteger) messageSize
readnonatomicassign

The amount of traffic for the message body.

The traffic is measured in bytes.

- (NSUInteger) thumbnailSize
readnonatomicassign

The amount of traffic for the thumbnail.

The traffic is measured in bytes.

- (NSUInteger) timestamp
readnonatomicassign

The Unix timestamp for the Chat server receiving the message.

The Unix timestamp is in the unit of millisecond.

- (NSString*) to
readnonatomicstrong

The user ID of the message recipient.

- (EMMessageBodyType) type
readnonatomicassign

The message body type.


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