123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- /*!
- * \~chinese
- * @header EMMessageBody.h
- * @abstract 消息体类型的基类
- * @author Hyphenate
- * @version 3.00
- *
- * \~english
- * @header EMMessageBody.h
- * @abstract Base class of message body
- * @author Hyphenate
- * @version 3.00
- */
- #import <Foundation/Foundation.h>
- #import <CoreGraphics/CGGeometry.h>
- /*!
- * \~chinese
- * 消息体类型
- *
- * \~english
- * Message body type
- */
- typedef enum {
- EMMessageBodyTypeText = 1, /*! \~chinese 文本类型 \~english Text */
- EMMessageBodyTypeImage, /*! \~chinese 图片类型 \~english Image */
- EMMessageBodyTypeVideo, /*! \~chinese 视频类型 \~english Video */
- EMMessageBodyTypeLocation, /*! \~chinese 位置类型 \~english Location */
- EMMessageBodyTypeVoice, /*! \~chinese 语音类型 \~english Voice */
- EMMessageBodyTypeFile, /*! \~chinese 文件类型 \~english File */
- EMMessageBodyTypeCmd, /*! \~chinese 命令类型 \~english Command */
- } EMMessageBodyType;
- /*!
- * \~chinese
- * 消息体
- *
- * \~english
- * Message body
- */
- @interface EMMessageBody : NSObject
- /*!
- * \~chinese
- * 消息体类型
- *
- * \~english
- * Message body type
- */
- @property (nonatomic, readonly) EMMessageBodyType type;
- @end
|