From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001 From: 单军华 Date: Wed, 11 Jul 2018 10:47:42 +0800 Subject: [PATCH] 首次上传 --- screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Model/EaseMessageModel.h | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 104 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Model/EaseMessageModel.h b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Model/EaseMessageModel.h new file mode 100755 index 0000000..45bdef6 --- /dev/null +++ b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Model/EaseMessageModel.h @@ -0,0 +1,104 @@ +/************************************************************ + * * 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 <Foundation/Foundation.h> + +#import "IMessageModel.h" +#if ENABLE_LITE == 1 +#import <HyphenateLite/EMMessage.h> +#else +#import <Hyphenate/EMMessage.h> +#endif + +/** @brief ������������ */ + +@interface EaseMessageModel : NSObject<IMessageModel> + +/** @brief ������cell��������� */ +@property (nonatomic) CGFloat cellHeight; +/** @brief ������������ */ +@property (strong, nonatomic, readonly) EMMessage *message; +/** @brief ��������� */ +@property (strong, nonatomic, readonly) EMMessageBody *firstMessageBody; +/** @brief ������id */ +@property (strong, nonatomic, readonly) NSString *messageId; +/** @brief ��������������� */ +@property (nonatomic, readonly) EMMessageBodyType bodyType; +/** @brief ������������������ */ +@property (nonatomic, readonly) EMMessageStatus messageStatus; +/** @brief ������������ */ +@property (nonatomic, readonly) EMChatType messageType; +/** @brief ������������������ */ +@property (nonatomic) BOOL isMessageRead; +/** @brief ��������������������������������������������� */ +@property (nonatomic) BOOL isSender; +/** @brief ������������������������ */ +@property (strong, nonatomic) NSString *nickname; +/** @brief ������������������������url */ +@property (strong, nonatomic) NSString *avatarURLPath; +/** @brief ������������������������ */ +@property (strong, nonatomic) UIImage *avatarImage; +/** @brief ��������������������� */ +@property (strong, nonatomic) NSString *text; +/** @brief ������������������������������ */ +@property (strong, nonatomic) NSAttributedString *attrBody; +/** @brief ��������������������������� */ +@property (strong, nonatomic) NSString *address; +/** @brief ��������������������� */ +@property (nonatomic) double latitude; +/** @brief ��������������������� */ +@property (nonatomic) double longitude; +/** @brief ���������������������������������(������������������������������������������������) */ +@property (strong, nonatomic) NSString *failImageName; +/** @brief ��������������������������� */ +@property (nonatomic) CGSize imageSize; +/** @brief ������������������������������ */ +@property (nonatomic) CGSize thumbnailImageSize; +/** @brief ��������������������� */ +@property (strong, nonatomic) UIImage *image; +/** @brief ������������������������ */ +@property (strong, nonatomic) UIImage *thumbnailImage; +/** @brief ������������������������������ */ +@property (nonatomic) BOOL isMediaPlaying; +/** @brief ��������������������������������� */ +@property (nonatomic) BOOL isMediaPlayed; +/** @brief ������������(���������������)������ */ +@property (nonatomic) CGFloat mediaDuration; +/** @brief ������������������������������ */ +@property (strong, nonatomic) NSString *fileIconName; +/** @brief ������������������������������ */ +@property (strong, nonatomic) NSString *fileName; +/** @brief ��������������������������� */ +@property (strong, nonatomic) NSString *fileSizeDes; + +/** @brief ��������������������� */ +@property (nonatomic) CGFloat fileSize; +/** @brief ��������������������������� */ +@property (nonatomic) float progress; +/** @brief ��������������������������������� */ +@property (strong, nonatomic, readonly) NSString *fileLocalPath; +/** @brief ������������(���������������)������������������������������ */ +@property (strong, nonatomic) NSString *thumbnailFileLocalPath; +/** @brief ��������������������������� */ +@property (strong, nonatomic) NSString *fileURLPath; +/** @brief ������������(���������������)������������������������ */ +@property (strong, nonatomic) NSString *thumbnailFileURLPath; + +/*! + @method + @brief ��������������������������� + @param message ������������ + @return ������������������ + */ +- (instancetype)initWithMessage:(EMMessage *)message; + +@end -- Gitblit v1.8.0