No Description

ChatViewController.h 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /************************************************************
  2. * * EaseMob CONFIDENTIAL
  3. * __________________
  4. * Copyright (C) 2013-2014 EaseMob Technologies. All rights reserved.
  5. *
  6. * NOTICE: All information contained herein is, and remains
  7. * the property of EaseMob Technologies.
  8. * Dissemination of this information or reproduction of this material
  9. * is strictly forbidden unless prior written permission is obtained
  10. * from EaseMob Technologies.
  11. */
  12. #import <UIKit/UIKit.h>
  13. #import "ChatSendHelper.h"
  14. #import "DXMessageToolBar.h"
  15. #import "FKMessageManager.h"
  16. #import "FKMessageRequest.h"
  17. extern NSString *const QueueNameShouqian;
  18. extern NSString *const QueueNameShouhou;
  19. @interface ChatViewController : FLViewController
  20. @property (nonatomic, strong) NSString *naviTitle;
  21. @property (nonatomic, strong) NSString *receiverHeadURL;
  22. @property (nonatomic, strong) NSString *senderHeadURL;
  23. @property (nonatomic, strong) NSString *myNickname;
  24. @property (nonatomic, strong) NSDictionary *msgExtData;
  25. @property (nonatomic, strong) dispatch_queue_t messageQueue;
  26. @property (nonatomic, assign) BOOL isHasMoreMessage;
  27. @property (nonatomic, strong) NSMutableArray *dataSource;//tableView数据源
  28. @property (nonatomic, strong) EMConversation *conversation;//会话管理者
  29. @property (nonatomic, strong) DXMessageToolBar *chatToolBar;
  30. @property (strong, nonatomic) UITableView *tableView;
  31. - (instancetype)initWithChatter:(NSString *)chatter isGroup:(BOOL)isGroup;
  32. - (void)configChatter:(NSString *)chatter isGroup:(BOOL)isGroup;
  33. - (void)loadMoreMessages;
  34. - (void)setupUnreadMessageCount;
  35. - (void)addChatDataToMessage:(EMMessage *)message;
  36. - (void)keyBoardHidden;
  37. - (void)beginTouchMessageToolBar;
  38. - (void)finishLoadingDataWith:(NSTimeInterval)interval;
  39. @end