Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OffcnIMSDKiOS
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
opensource
OffcnIMSDKiOS
Commits
aea824b3
Commit
aea824b3
authored
Sep 14, 2020
by
zhangyunjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demo
parent
38660331
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
OffcnIMSDKiOS.h
OffcnIMSDKiOS/ExposedInterface-(外放接口)/OffcnIMSDKiOS.h
+2
-4
OffcnIMSocketManager.h
OffcnIMSDKiOS/ExposedInterface-(外放接口)/OffcnIMSocketManager.h
+5
-2
No files found.
OffcnIMSDKiOS/ExposedInterface-(外放接口)/OffcnIMSDKiOS.h
View file @
aea824b3
//
//
...
...
@@ -48,7 +48,7 @@ typedef void(^OffcnSDKReachabilityStatusCallBack)(OffcnSDKReachabilityStatus sta
//deviceToken
@property
(
nonatomic
,
copy
)
NSString
*
deviceToken
;
//网络状态
@property
(
nonatomic
,
assign
)
OffcnSDKReachabilityStatus
OffcnReachabilityStatus
;
@property
(
nonatomic
,
copy
)
OffcnSDKReachabilityStatusCallBack
reachabilityStatusCallBack
;
...
...
@@ -104,5 +104,3 @@ typedef void(^OffcnSDKReachabilityStatusCallBack)(OffcnSDKReachabilityStatus sta
/// @param finished 结果回调
-
(
void
)
unregisterDevicesWithAccid
:(
NSString
*
)
accid
device_token
:(
NSString
*
)
device_token
Finished
:(
void
(
^
)(
BOOL
success
,
id
response
,
NSString
*
errorMessage
))
finished
;
@end
//所有接口code 1000处理:重连
OffcnIMSDKiOS/ExposedInterface-(外放接口)/OffcnIMSocketManager.h
View file @
aea824b3
//
//
...
...
@@ -31,9 +31,12 @@ typedef void(^OffcnIMReceiveConnectStatus)(OffcnIMConnectStatus status,NSString
@property
(
nonatomic
,
copy
)
NSString
*
token
;
//发送消息的用户token
@property
(
nonatomic
,
assign
)
OffcnIMConnectStatus
IMConnectStatus
;
@property
(
nonatomic
,
assign
)
OffcnIMConnectStatus
IMConnectStatus
;
//连接状态
//收到消息回调
@property
(
nonatomic
,
copy
)
OffcnIMConnectReceiveMessage
connectReceiveMessage
;
//连接状态回调
@property
(
nonatomic
,
copy
)
OffcnIMReceiveConnectStatus
connectStatus
;
//单例
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment