Commit 7634f651 by zhangyunjie

1.2.2.9

parent 31b816a8
......@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'OffcnIMSDKiOS'
s.version = '1.2.2.8'
s.version = '1.2.2.9'
s.summary = 'OffcnIMSDKiOS.'
s.description = <<-DESC
......
......@@ -17,19 +17,13 @@ NS_ASSUME_NONNULL_BEGIN
#define kObjcKey @"kObjcKey"
#define kGroup_idKey @"kGroup_idKey"
//页面显示消失
#define kCSPageShowNotification @"kCSPageShowNotification"
typedef void(^linkCallBack)(NSURL *URL);
@class OffcnIMContactInfoModel;
@interface OffcnIMCSChatInfoViewController : UIViewController
//内部使用回调,勿用
@property (nonatomic, copy) linkCallBack linkCallBack;
//联系人model
@property (nonatomic, strong) OffcnIMUserList_listModel *contactInfoModel;
......@@ -42,8 +36,6 @@ typedef void(^linkCallBack)(NSURL *URL);
-(OffcnIMUserList_listModel *)cs_getContactInfoModelWithAgent_ID:(NSString *)agent_ID toID:(NSString *)toID group_id:(NSString *)group_id;
//是否内部跳转(单独使用此类跳转时请传NO)必传
@property (nonatomic, assign) BOOL isInsideJump;
//聊天内容点击链接是否跳转浏览器(yes:跳转浏览器;no:不跳转,返回的链接根据产品需求处理)
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
......
......@@ -14,6 +14,11 @@ NS_ASSUME_NONNULL_BEGIN
//消息总数回调
typedef void(^OffcnIMTotal_unread_number)(NSInteger num);
//点击cell事件
typedef void(^OffcnIMDidSelectRowCallBack)(OffcnIMUserList_listModel *contactInfoModel);
@interface OffcnIMCSChatListViewController : UIViewController
@property (nonatomic, assign) BOOL isNavBarHidden;//是否隐藏导航
......@@ -28,6 +33,8 @@ typedef void(^OffcnIMTotal_unread_number)(NSInteger num);
@property (nonatomic, copy) OffcnIMTotal_unread_number total_unread_number;//消息总数回调
@property (nonatomic, copy) OffcnIMDidSelectRowCallBack didSelectRowCallBack;//点击cell事件
/// 返回联系人信息
/// @param agent_ID 客服ID
......@@ -36,17 +43,6 @@ typedef void(^OffcnIMTotal_unread_number)(NSInteger num);
-(OffcnIMUserList_listModel *)cs_getContactInfoModelWithAgent_ID:(NSString *)agent_ID toID:(NSString *)toID group_id:(NSString *)group_id;
//聊天内容点击链接是否跳转浏览器(yes:跳转浏览器;no:不跳转,返回的链接根据产品需求处理)
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
/// 满足条件:“学员在班级&班级状态不是已结班” 或 “学员在学习包内”返回YES,否则返回NO
/// @param teacherID 教师ID
/// @param studentID 学生ID
/// @param group_id 客服组ID
-(BOOL)isEndClassWithTeacherID:(NSString *)teacherID studentID:(NSString *)studentID group_id:(NSString *)group_id;
//清空数据
-(void)clearData;
......
......@@ -19,18 +19,11 @@ NS_ASSUME_NONNULL_BEGIN
//页面显示消失
#define kPageShowNotification @"kPageShowNotification"
typedef void(^linkCallBack)(NSURL *URL);
@class OffcnIMContactInfoModel;
@interface OffcnIMChatInfoViewController : UIViewController
//内部使用回调,勿用
@property (nonatomic, copy) linkCallBack linkCallBack;
//是否内部跳转
@property (nonatomic, assign) BOOL isInsideJump;
//联系人model
@property (nonatomic, strong) OffcnIMUserList_listModel *contactInfoModel;
......
......@@ -14,6 +14,10 @@ NS_ASSUME_NONNULL_BEGIN
//消息总数回调
typedef void(^OffcnIMTotal_unread_number)(NSInteger num);
//点击cell事件
typedef void(^OffcnIMDidSelectRowCallBack)(OffcnIMUserList_listModel *contactInfoModel);
@interface OffcnIMChatListViewController : UIViewController
@property (nonatomic, assign) BOOL isNavBarHidden;//是否隐藏导航
......@@ -28,12 +32,12 @@ typedef void(^OffcnIMTotal_unread_number)(NSInteger num);
@property (nonatomic, copy) OffcnIMTotal_unread_number total_unread_number;//消息总数回调
@property (nonatomic, copy) OffcnIMDidSelectRowCallBack didSelectRowCallBack;//点击cell事件
//返回联系人信息--userID为im的用户ID
-(OffcnIMUserList_listModel *)getContactInfoModelWithUserID:(NSString *)userID;
//聊天内容点击链接是否跳转浏览器(yes:跳转浏览器;no:不跳转,返回的链接根据产品需求处理)
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
//清空数据
-(void)clearData;
......
......@@ -9,7 +9,7 @@
#import <UIKit/UIKit.h>
#import "OffcnIMModel.h"
static const NSString *OffcnIMSDKiOSVersion = @"1.2.2.8";
static const NSString *OffcnIMSDKiOSVersion = @"1.2.2.9";
//聊天详情头像点击事件通知
#define kOffcnIMChatInfoHeadIconClickNotification @"kOffcnIMChatInfoHeadIconClickNotification"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment