-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
whalehe
committed
Aug 12, 2019
1 parent
0febd0b
commit 29fdd61
Showing
45 changed files
with
12,366 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Headers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/ImSDKForMac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// IMGroupExt.h | ||
// IMGroupExt | ||
// | ||
// Created by tomzhu on 2017/1/23. | ||
// | ||
// | ||
|
||
#ifndef IMGroupExt_h | ||
#define IMGroupExt_h | ||
|
||
#import "TIMComm+Group.h" | ||
#import "TIMGroupManager+Ext.h" | ||
|
||
#endif /* IMGroupExt_h */ |
17 changes: 17 additions & 0 deletions
17
Mac/ImSDKForMac.framework/Versions/A/Headers/IMMessageExt.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// IMMessageExt.h | ||
// IMMessageExt | ||
// | ||
// Created by tomzhu on 2016/12/27. | ||
// | ||
// | ||
|
||
#ifndef ImSDK_h | ||
#define ImSDK_h | ||
|
||
#import "TIMConversation+MsgExt.h" | ||
#import "TIMMessage+MsgExt.h" | ||
#import "TIMComm+MsgExt.h" | ||
#import "TIMManager+MsgExt.h" | ||
|
||
#endif /* ImSDK_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// ImSDK.h | ||
// ImSDK | ||
// | ||
// Created by bodeng on 24/3/15. | ||
// Copyright (c) 2015 tencent. All rights reserved. | ||
// | ||
|
||
#ifndef ImSDK_ImSDK_h | ||
#define ImSDK_ImSDK_h | ||
|
||
#import "TIMComm.h" | ||
#import "TIMManager.h" | ||
#import "TIMMessage.h" | ||
#import "TIMConversation.h" | ||
#import "TIMGroupManager.h" | ||
#import "TIMCallback.h" | ||
#import "TIMFriendshipManager.h" | ||
#import "TIMErrorCode.h" | ||
#import "IMGroupExt.h" | ||
#import "IMMessageExt.h" | ||
|
||
#endif |
208 changes: 208 additions & 0 deletions
208
Mac/ImSDKForMac.framework/Versions/A/Headers/TIMCallback.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
// | ||
// TIMCallback.h | ||
// ImSDK | ||
// | ||
// Created by bodeng on 30/3/15. | ||
// Copyright (c) 2015 tencent. All rights reserved. | ||
// | ||
|
||
#ifndef ImSDK_TIMCallback_h | ||
#define ImSDK_TIMCallback_h | ||
|
||
#import "TIMComm.h" | ||
|
||
@class TIMMessage; | ||
@class TIMGroupTipsElem; | ||
@class TIMGroupInfo; | ||
@class TIMSNSChangeInfo; | ||
@class TIMFriendPendencyInfo; | ||
|
||
/** | ||
* 连接通知回调 | ||
*/ | ||
@protocol TIMConnListener <NSObject> | ||
@optional | ||
|
||
/** | ||
* 网络连接成功 | ||
*/ | ||
- (void)onConnSucc; | ||
|
||
/** | ||
* 网络连接失败 | ||
* | ||
* @param code 错误码 | ||
* @param err 错误描述 | ||
*/ | ||
- (void)onConnFailed:(int)code err:(NSString*)err; | ||
|
||
/** | ||
* 网络连接断开(断线只是通知用户,不需要重新登录,重连以后会自动上线) | ||
* | ||
* @param code 错误码 | ||
* @param err 错误描述 | ||
*/ | ||
- (void)onDisconnect:(int)code err:(NSString*)err; | ||
|
||
|
||
/** | ||
* 连接中 | ||
*/ | ||
- (void)onConnecting; | ||
|
||
@end | ||
|
||
|
||
/** | ||
* 用户在线状态通知 | ||
*/ | ||
@protocol TIMUserStatusListener <NSObject> | ||
@optional | ||
/** | ||
* 踢下线通知 | ||
*/ | ||
- (void)onForceOffline; | ||
|
||
/** | ||
* 断线重连失败 | ||
*/ | ||
- (void)onReConnFailed:(int)code err:(NSString*)err; | ||
|
||
/** | ||
* 用户登录的userSig过期(用户需要重新获取userSig后登录) | ||
*/ | ||
- (void)onUserSigExpired; | ||
@end | ||
|
||
/** | ||
* 页面刷新接口(如有需要未读计数刷新,会话列表刷新等) | ||
*/ | ||
@protocol TIMRefreshListener <NSObject> | ||
@optional | ||
/** | ||
* 刷新会话 | ||
*/ | ||
- (void)onRefresh; | ||
|
||
/** | ||
* 刷新部分会话 | ||
* | ||
* @param conversations 会话(TIMConversation*)列表 | ||
*/ | ||
- (void)onRefreshConversations:(NSArray<TIMConversation *>*)conversations; | ||
@end | ||
|
||
/** | ||
* 消息回调 | ||
*/ | ||
@protocol TIMMessageListener <NSObject> | ||
@optional | ||
/** | ||
* 新消息回调通知 | ||
* | ||
* @param msgs 新消息列表,TIMMessage 类型数组 | ||
*/ | ||
- (void)onNewMessage:(NSArray*)msgs; | ||
@end | ||
|
||
@protocol TIMMessageReceiptListener <NSObject> | ||
@optional | ||
/** | ||
* 收到了已读回执 | ||
* | ||
* @param receipts 已读回执(TIMMessageReceipt*)列表 | ||
*/ | ||
- (void) onRecvMessageReceipts:(NSArray*)receipts; | ||
@end | ||
|
||
/** | ||
* 消息修改回调 | ||
*/ | ||
@protocol TIMMessageUpdateListener <NSObject> | ||
@optional | ||
/** | ||
* 消息修改通知 | ||
* | ||
* @param msgs 修改的消息列表,TIMMessage 类型数组 | ||
*/ | ||
- (void)onMessageUpdate:(NSArray*) msgs; | ||
@end | ||
|
||
|
||
@protocol TIMMessageRevokeListener <NSObject> | ||
@optional | ||
/** | ||
* 消息撤回通知 | ||
* | ||
* @param locator 被撤回消息的标识 | ||
*/ | ||
- (void)onRevokeMessage:(TIMMessageLocator*)locator; | ||
|
||
@end | ||
|
||
/** | ||
* 上传进度回调 | ||
*/ | ||
@protocol TIMUploadProgressListener <NSObject> | ||
@optional | ||
/** | ||
* 上传进度回调 | ||
* | ||
* @param msg 正在上传的消息 | ||
* @param elemidx 正在上传的elem的索引 | ||
* @param taskid 任务id | ||
* @param progress 上传进度 | ||
*/ | ||
- (void)onUploadProgressCallback:(TIMMessage*)msg elemidx:(uint32_t)elemidx taskid:(uint32_t)taskid progress:(uint32_t)progress; | ||
@end | ||
|
||
/** | ||
* 群事件通知回调 | ||
*/ | ||
@protocol TIMGroupEventListener <NSObject> | ||
@optional | ||
/** | ||
* 群tips回调 | ||
* | ||
* @param elem 群tips消息 | ||
*/ | ||
- (void)onGroupTipsEvent:(TIMGroupTipsElem*)elem; | ||
@end | ||
|
||
/** | ||
* 好友代理事件回调 | ||
*/ | ||
@protocol TIMFriendshipListener <NSObject> | ||
@optional | ||
|
||
/** | ||
* 添加好友通知 | ||
* | ||
* @param users 好友列表(NSString*) | ||
*/ | ||
- (void)onAddFriends:(NSArray*)users; | ||
|
||
/** | ||
* 删除好友通知 | ||
* | ||
* @param identifiers 用户id列表(NSString*) | ||
*/ | ||
- (void)onDelFriends:(NSArray*)identifiers; | ||
|
||
/** | ||
* 好友资料更新通知 | ||
* | ||
* @param profiles 资料列表(TIMSNSChangeInfo *) | ||
*/ | ||
- (void)onFriendProfileUpdate:(NSArray<TIMSNSChangeInfo *> *)profiles; | ||
|
||
/** | ||
* 好友申请通知 | ||
* | ||
* @param reqs 好友申请者id列表(TIMFriendPendencyInfo *) | ||
*/ | ||
- (void)onAddFriendReqs:(NSArray<TIMFriendPendencyInfo *> *)reqs; | ||
|
||
@end | ||
|
||
#endif |
15 changes: 15 additions & 0 deletions
15
Mac/ImSDKForMac.framework/Versions/A/Headers/TIMComm+Group.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// TIMComm+Group.h | ||
// IMGroupExt | ||
// | ||
// Created by tomzhu on 2017/2/9. | ||
// | ||
// | ||
|
||
#ifndef TIMComm_Group_h | ||
#define TIMComm_Group_h | ||
|
||
//消息扩展类待废弃,请直接使用 TIMComm.h 调用相关方法 | ||
#import "TIMComm.h" | ||
|
||
#endif /* TIMComm_Group_h */ |
15 changes: 15 additions & 0 deletions
15
Mac/ImSDKForMac.framework/Versions/A/Headers/TIMComm+MsgExt.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// TIMComm+MsgExt.h | ||
// IMMessageExt | ||
// | ||
// Created by tomzhu on 2017/1/11. | ||
// | ||
// | ||
|
||
#ifndef TIMComm_MsgExt_h | ||
#define TIMComm_MsgExt_h | ||
|
||
//消息扩展类待废弃,请直接使用 TIMComm.h 调用相关方法 | ||
#import "TIMComm.h" | ||
|
||
#endif /* TIMComm_MsgExt_h */ |
Oops, something went wrong.