单军华
2018-07-11 acdf41fa3b32b628d9d7bba1f975060567dad3d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/************************************************************
 *  * 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 "EaseFacialView.h"
 
@protocol EMFaceDelegate
 
@required
/*!
 @method
 @brief 输入表情键盘的默认表情,或者点击删除按钮
 @discussion
 @param str       被选择的表情编码
 @param isDelete  是否为删除操作
 @result
 */
- (void)selectedFacialView:(NSString *)str isDelete:(BOOL)isDelete;
 
/*!
 @method
 @brief 点击表情键盘的发送回调
 @discussion
 @result
 */
- (void)sendFace;
 
/*!
 @method
 @brief 点击表情键盘的自定义表情,直接发送
 @discussion
 @param emotion 自定义表情对象
 @result
 */
- (void)sendFaceWithEmotion:(EaseEmotion *)emotion;
 
@end
 
@interface EaseFaceView : UIView <EaseFacialViewDelegate>
 
@property (nonatomic, assign) id<EMFaceDelegate> delegate;
 
- (BOOL)stringIsFace:(NSString *)string;
 
/*!
 @method
 @brief 通过数据源获取表情分组数,
 @discussion
 @param number 分组数
 @param emotionManagers 表情分组列表
 @result
 */
- (void)setEmotionManagers:(NSArray*)emotionManagers;
 
@end