JMSGMessageTransparentEvent Class Reference

Inherits from JMSGNotificationEvent : NSObject
Declared in JMSGNotificationEvent.h

Overview

上层通过 JMSGEventDelegate 类中的 [JMSGEventDelegate onReceiveMessageTransparentEvent:] 代理方法监听该事件

  transMessageType

消息透传的类型,单聊、群聊、设备间透传消息

@property (nonatomic, assign, readonly) JMSGTransMessageType transMessageType

Declared In

JMSGNotificationEvent.h

  sendUser

透传消息的发送者

@property (nonatomic, strong, readonly) JMSGUser *sendUser

Declared In

JMSGNotificationEvent.h

  target

透传消息的目标对象,JMSGUser、JMSGGroup

@property (nonatomic, strong, readonly) id target

Declared In

JMSGNotificationEvent.h

  transparentText

透传消息内容

@property (nonatomic, strong, readonly) NSString *transparentText

Declared In

JMSGNotificationEvent.h

  conversation

透传消息所属会话

@property (nonatomic, strong, readonly) JMSGConversation *conversation

Discussion

注意:如果接收到设备间的透传事件,此属性的值为 nil;如果本地并没有创建会话,此属性也为 nil

Declared In

JMSGNotificationEvent.h