12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /*!
- * \~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 */
- EMMessageBodyTypeCustom, /*! \~chinese 自定义类型 \~english Custom */
- } EMMessageBodyType;
- /*!
- * \~chinese
- * 消息体
- *
- * \~english
- * Message body
- */
- @interface EMMessageBody : NSObject
- /*!
- * \~chinese
- * 消息体类型
- *
- * \~english
- * Message body type
- */
- @property (nonatomic, readonly) EMMessageBodyType type;
- @end
|