Commit 7a29d554 by zhangyunjie

1.2.2.4

parent 24e6d33f
......@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'OffcnIMSDKiOS'
s.version = '1.2.2.3'
s.version = '1.2.2.4'
s.summary = 'OffcnIMSDKiOS.'
s.description = <<-DESC
......
//
// OffcnIMCSChatInfoViewController.h
// classonline
//
// Created by HX on 2020/10/14.
// Copyright © 2020 offcn. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "OffcnIMModel.h"
NS_ASSUME_NONNULL_BEGIN
//自己发送消息通知
#define kCSSendMsgNotification @"kCSSendMsgNotification"
#define kResultKey @"kResultKey"
#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;
//是否内部跳转
@property (nonatomic, assign) BOOL isInsideJump;
//联系人model
@property (nonatomic, strong) OffcnIMUserList_listModel *contactInfoModel;
//滑动到底部
- (void)scrollTableToFoot:(BOOL)animated;
//聊天内容点击链接是否跳转浏览器(yes:跳转浏览器;no:不跳转,返回的链接根据产品需求处理)
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
@end
NS_ASSUME_NONNULL_END
//
// OffcnIMCSChatListViewController.h
// classonline
//
// Created by HX on 2020/10/14.
// Copyright © 2020 offcn. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "OffcnIMModel.h"
NS_ASSUME_NONNULL_BEGIN
//消息总数回调
typedef void(^OffcnIMTotal_unread_number)(NSInteger num);
@interface OffcnIMCSChatListViewController : UIViewController
@property (nonatomic, assign) BOOL isNavBarHidden;//是否隐藏导航
/// 自定义UI
/// @param viewTopHeight (view top的高度,一级子视图传0,二级子视图传0.1或自定义高度)
/// @param viewBottomHeight (view bottom的高度)
/// @param isNeedSearch 是否需要搜索功能
-(void)setUIWithViewTopHeight:(CGFloat)viewTopHeight ViewBottomHeight:(CGFloat)viewBottomHeight isNeedSearch:(BOOL)isNeedSearch;
@property (nonatomic, assign) BOOL isShowNoWifiTip;//显示没网提示
@property (nonatomic, copy) OffcnIMTotal_unread_number total_unread_number;//消息总数回调
/// 返回联系人信息
/// @param agent_ID 客服ID
/// @param toID 对方ID
/// @param group_id 客服组ID
-(OffcnIMUserList_listModel *)cs_getContactInfoModelWithAgent_ID:(NSString *)agent_ID toID:(NSString *)toID group_id:(NSString *)group_id;
//聊天内容点击链接是否跳转浏览器(yes:跳转浏览器;no:不跳转,返回的链接根据产品需求处理)
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
//清空数据
-(void)clearData;
//刷新
-(void)reloadData;
@end
NS_ASSUME_NONNULL_END
//
// OffcnIMCSSetChatStateViewController.h
// OffcnIMSDKiOS
//
// Created by jie 张 on 2021/9/16.
// Copyright © 2021 offcn. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, OffcnIMCSSetChatState) {
OffcnIMCSSetChatState_online = 1, //在线正常
OffcnButtonTypeRadius_busy, //忙碌
};
typedef void(^chatStateCallBack)(OffcnIMCSSetChatState chatState);
@interface OffcnIMCSSetChatStateViewController : UIViewController
@property (nonatomic, copy) NSString *accid;
@property (nonatomic, assign) OffcnIMCSSetChatState chatState;
@property (nonatomic, copy) chatStateCallBack chatStateCallBack;
@end
NS_ASSUME_NONNULL_END
......@@ -9,7 +9,7 @@
#import <UIKit/UIKit.h>
#import "OffcnIMModel.h"
static const NSString *OffcnIMSDKiOSVersion = @"1.2.2.3";
static const NSString *OffcnIMSDKiOSVersion = @"1.2.2.4";
//聊天详情头像点击事件通知
#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