AgoraChatSDK 1.2.0
Properties | List of all members
AgoraChatMessageStatistics Class Reference

#import <AgoraChatMessageStatistics.h>

Inheritance diagram for AgoraChatMessageStatistics:

Properties

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

Detailed Description

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

Author
Hyphenate
Version
3.00 The message traffic statistics.

Property Documentation

◆ 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.


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