| 123456789101112131415161718192021222324252627282930313233343536373839 |
- /************************************************************
- * * Hyphenate CONFIDENTIAL
- * __________________
- * Copyright (C) 2016 Hyphenate Inc. All rights reserved.
- *
- * NOTICE: All information contained herein is, and remains
- * the property of Hyphenate Inc.
- * Dissemination of this information or reproduction of this material
- * is strictly forbidden unless prior written permission is obtained
- * from Hyphenate Inc.
- */
- #import <UIKit/UIKit.h>
- #import <Foundation/Foundation.h>
- @class EMConversation;
- /** @brief 环信会话模型协议 */
- @protocol IConversationModel <NSObject>
- /** @brief 会话对象 */
- @property (strong, nonatomic, readonly) EMConversation *conversation;
- /** @brief 会话的标题(主要用户UI显示) */
- @property (strong, nonatomic) NSString *title;
- /** @brief conversationId的头像url */
- @property (strong, nonatomic) NSString *avatarURLPath;
- /** @brief conversationId的头像 */
- @property (strong, nonatomic) UIImage *avatarImage;
- /*!
- @method
- @brief 初始化会话对象模型
- @param conversation 会话对象
- @return 会话对象模型
- */
- - (instancetype)initWithConversation:(EMConversation *)conversation;
- @end
|