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/Util/EaseMessageReadManager.h | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Util/EaseMessageReadManager.h b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Util/EaseMessageReadManager.h new file mode 100755 index 0000000..175f65e --- /dev/null +++ b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Util/EaseMessageReadManager.h @@ -0,0 +1,59 @@ +/************************************************************ + * * 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 "EaseMessageModel.h" + +typedef void (^FinishBlock)(BOOL success); +typedef void (^PlayBlock)(BOOL playing, EaseMessageModel *messageModel); + +@class MWPhotoBrowser; +@class EMChatFireBubbleView; +@interface EaseMessageReadManager : NSObject + +@property (strong, nonatomic) MWPhotoBrowser *photoBrowser; +@property (strong, nonatomic) FinishBlock finishBlock; + +@property (strong, nonatomic) EaseMessageModel *audioMessageModel; + ++ (id)defaultManager; + +/*! + @method + @brief ������������������������ + @discussion + @param imageArray ���������������������������UIImage������ + @return + */ +- (void)showBrowserWithImages:(NSArray *)imageArray; + +/*! + @method + @brief ������������������������������ + @discussion ������������������������������������������������������������isMediaPlaying���������NO���������������������������isMediaPlaying������yes���������������������������������isMediaPlaying���������������������ext���������yes + @param messageModel ���������������������model + @param updateCompletion ������������model������������������ + @return + */ +- (BOOL)prepareMessageAudioModel:(EaseMessageModel *)messageModel + updateViewCompletion:(void (^)(EaseMessageModel *prevAudioModel, EaseMessageModel *currentAudioModel))updateCompletion; + +/*! + @method + @brief ���������������������������NO������������������������������model + @discussion ���������������������������NO������������������������������model������������������������������������������������������nil + @return ������������������������������model + */ +- (EaseMessageModel *)stopMessageAudioModel; + +@end -- Gitblit v1.8.0