parent
5009c398dc
commit
adf11a3fd7
@ -0,0 +1,25 @@ |
||||
{ |
||||
"name": "openim_sdk_core_ios", |
||||
"version": "0.1.0", |
||||
"summary": "A short description of openim_sdk_core_ios.", |
||||
"description": "TODO: Add long description of the pod here.rite the description between the DESC delimiters below", |
||||
"homepage": "https://baidu.com", |
||||
"license": { |
||||
"type": "MIT", |
||||
"file": "LICENSE" |
||||
}, |
||||
"authors": { |
||||
"cc": "cc" |
||||
}, |
||||
"source": { |
||||
"git": "https://gitea.sdws.shop/xim/open_pod.git", |
||||
"tag": "0.1.0" |
||||
}, |
||||
"platforms": { |
||||
"ios": "12.0" |
||||
}, |
||||
"vendored_frameworks": "openim_sdk_core_ios/frameworks/*.xcframework", |
||||
"pod_target_xcconfig": { |
||||
"OTHER_LDFLAGS": "-lresolv" |
||||
} |
||||
} |
@ -0,0 +1,44 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
||||
<plist version="1.0"> |
||||
<dict> |
||||
<key>AvailableLibraries</key> |
||||
<array> |
||||
<dict> |
||||
<key>BinaryPath</key> |
||||
<string>OpenIMCore.framework/OpenIMCore</string> |
||||
<key>LibraryIdentifier</key> |
||||
<string>ios-arm64_x86_64-simulator</string> |
||||
<key>LibraryPath</key> |
||||
<string>OpenIMCore.framework</string> |
||||
<key>SupportedArchitectures</key> |
||||
<array> |
||||
<string>arm64</string> |
||||
<string>x86_64</string> |
||||
</array> |
||||
<key>SupportedPlatform</key> |
||||
<string>ios</string> |
||||
<key>SupportedPlatformVariant</key> |
||||
<string>simulator</string> |
||||
</dict> |
||||
<dict> |
||||
<key>BinaryPath</key> |
||||
<string>OpenIMCore.framework/OpenIMCore</string> |
||||
<key>LibraryIdentifier</key> |
||||
<string>ios-arm64</string> |
||||
<key>LibraryPath</key> |
||||
<string>OpenIMCore.framework</string> |
||||
<key>SupportedArchitectures</key> |
||||
<array> |
||||
<string>arm64</string> |
||||
</array> |
||||
<key>SupportedPlatform</key> |
||||
<string>ios</string> |
||||
</dict> |
||||
</array> |
||||
<key>CFBundlePackageType</key> |
||||
<string>XFWK</string> |
||||
<key>XCFrameworkFormatVersion</key> |
||||
<string>1.0</string> |
||||
</dict> |
||||
</plist> |
@ -0,0 +1,15 @@ |
||||
|
||||
// Objective-C API for talking to the following Go packages
|
||||
//
|
||||
// github.com/openimsdk/openim-sdk-core/v3/open_im_sdk
|
||||
// github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback
|
||||
//
|
||||
// File is generated by gomobile bind. Do not edit.
|
||||
#ifndef __OpenIMCore_FRAMEWORK_H__ |
||||
#define __OpenIMCore_FRAMEWORK_H__ |
||||
|
||||
#include "Open_im_sdk.objc.h" |
||||
#include "Open_im_sdk_callback.objc.h" |
||||
#include "Universe.objc.h" |
||||
|
||||
#endif |
@ -0,0 +1,418 @@ |
||||
// Objective-C API for talking to github.com/openimsdk/openim-sdk-core/v3/open_im_sdk Go package.
|
||||
// gobind -lang=objc github.com/openimsdk/openim-sdk-core/v3/open_im_sdk
|
||||
//
|
||||
// File is generated by gobind. Do not edit.
|
||||
|
||||
#ifndef __Open_im_sdk_H__ |
||||
#define __Open_im_sdk_H__ |
||||
|
||||
@import Foundation; |
||||
#include "ref.h" |
||||
#include "Universe.objc.h" |
||||
|
||||
#include "Open_im_sdk_callback.objc.h" |
||||
|
||||
@class Open_im_sdkLoginMgr; |
||||
|
||||
@interface Open_im_sdkLoginMgr : NSObject <goSeqRefInterface> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (nullable instancetype)init; |
||||
- (id<Open_im_sdk_callbackOnAdvancedMsgListener> _Nullable)advancedMsgListener; |
||||
- (id<Open_im_sdk_callbackOnBatchMsgListener> _Nullable)batchMsgListener; |
||||
- (id<Open_im_sdk_callbackOnCustomBusinessListener> _Nullable)businessListener; |
||||
// skipped method LoginMgr.Channel with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnChannelListener> _Nullable)channelListener; |
||||
// skipped method LoginMgr.Context with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.Conversation with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnConversationListener> _Nullable)conversationListener; |
||||
- (void)exit; |
||||
// skipped method LoginMgr.File with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnFriendshipListener> _Nullable)friendshipListener; |
||||
// skipped method LoginMgr.GetLoginStatus with unsupported parameter or return types
|
||||
|
||||
- (NSString* _Nonnull)getLoginUserID; |
||||
- (NSString* _Nonnull)getToken; |
||||
// skipped method LoginMgr.Group with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnGroupListener> _Nullable)groupListener; |
||||
// skipped method LoginMgr.ImConfig with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.InitSDK with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.Login with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.Logout with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.LongConnMgr with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnMessageKvInfoListener> _Nullable)msgKvListener; |
||||
// skipped method LoginMgr.NetworkStatusChanged with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.Relation with unsupported parameter or return types
|
||||
|
||||
- (void)setAdvancedMsgListener:(id<Open_im_sdk_callbackOnAdvancedMsgListener> _Nullable)advancedMsgListener; |
||||
// skipped method LoginMgr.SetAppBackgroundStatus with unsupported parameter or return types
|
||||
|
||||
- (void)setBatchMsgListener:(id<Open_im_sdk_callbackOnBatchMsgListener> _Nullable)batchMsgListener; |
||||
- (void)setChannelListener:(id<Open_im_sdk_callbackOnChannelListener> _Nullable)channelListener; |
||||
- (void)setConversationListener:(id<Open_im_sdk_callbackOnConversationListener> _Nullable)conversationListener; |
||||
- (void)setCustomBusinessListener:(id<Open_im_sdk_callbackOnCustomBusinessListener> _Nullable)listener; |
||||
- (void)setFriendshipListener:(id<Open_im_sdk_callbackOnFriendshipListener> _Nullable)friendshipListener; |
||||
- (void)setGroupListener:(id<Open_im_sdk_callbackOnGroupListener> _Nullable)groupListener; |
||||
- (void)setMessageKvInfoListener:(id<Open_im_sdk_callbackOnMessageKvInfoListener> _Nullable)messageKvInfoListener; |
||||
- (void)setUserListener:(id<Open_im_sdk_callbackOnUserListener> _Nullable)userListener; |
||||
- (id<Open_im_sdk_callbackOnSignalingListener> _Nullable)signalingListener; |
||||
// skipped method LoginMgr.Third with unsupported parameter or return types
|
||||
|
||||
- (void)unInitSDK; |
||||
// skipped method LoginMgr.User with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnUserListener> _Nullable)userListener; |
||||
@end |
||||
|
||||
FOUNDATION_EXPORT const int64_t Open_im_sdkLogged; |
||||
FOUNDATION_EXPORT const int64_t Open_im_sdkLogging; |
||||
FOUNDATION_EXPORT const int64_t Open_im_sdkLogoutStatus; |
||||
FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkLogoutTips; |
||||
|
||||
@interface Open_im_sdk : NSObject |
||||
+ (NSError* _Nullable) errNotImplemented; |
||||
+ (void) setErrNotImplemented:(NSError* _Nullable)v; |
||||
|
||||
/**
|
||||
* UserForSDK Client-independent user class |
||||
*/ |
||||
+ (Open_im_sdkLoginMgr* _Nullable) userForSDK; |
||||
+ (void) setUserForSDK:(Open_im_sdkLoginMgr* _Nullable)v; |
||||
|
||||
@end |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkAcceptFriendApplication(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDHandleMsg); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkAcceptGroupApplication(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable fromUserID, NSString* _Nullable handleMsg); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkAddBlack(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable blackUserID, NSString* _Nullable ex); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkAddFriend(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDReqMsg); |
||||
|
||||
/**
|
||||
* AddUserCommand add to user's favorite |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkAddUserCommand(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t Type, NSString* _Nullable uuid, NSString* _Nullable value); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkChangeChannelMemberMute(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, NSString* _Nullable userID, long mutedSeconds); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkChangeChannelMute(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, BOOL isMute); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkChangeGroupMemberMute(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable userID, long mutedSeconds); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkChangeGroupMute(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, BOOL isMute); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkChangeInputStates(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, BOOL focus); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkCheckFriend(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDList); |
||||
|
||||
/**
|
||||
* CheckResourceLoad checks the SDK is resource load status. |
||||
*/ |
||||
FOUNDATION_EXPORT BOOL Open_im_sdkCheckResourceLoad(Open_im_sdkLoginMgr* _Nullable uSDK, NSString* _Nullable funcName, NSError* _Nullable* _Nullable error); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkClearConversationAndDeleteAllMsg(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateAdvancedQuoteMessage(NSString* _Nullable operationID, NSString* _Nullable text, NSString* _Nullable message, NSString* _Nullable messageEntityList); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateAdvancedTextMessage(NSString* _Nullable operationID, NSString* _Nullable text, NSString* _Nullable messageEntityList); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCardMessage(NSString* _Nullable operationID, NSString* _Nullable cardInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkCreateChannel(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelReqInfo); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCustomMessage(NSString* _Nullable operationID, NSString* _Nullable data, NSString* _Nullable extension, NSString* _Nullable description); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFaceMessage(NSString* _Nullable operationID, long index, NSString* _Nullable data); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessage(NSString* _Nullable operationID, NSString* _Nullable filePath, NSString* _Nullable fileName); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageByURL(NSString* _Nullable operationID, NSString* _Nullable fileBaseInfo); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageFromFullPath(NSString* _Nullable operationID, NSString* _Nullable fileFullPath, NSString* _Nullable fileName); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateForwardMessage(NSString* _Nullable operationID, NSString* _Nullable m); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkCreateGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupReqInfo); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessage(NSString* _Nullable operationID, NSString* _Nullable imagePath); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageByURL(NSString* _Nullable operationID, NSString* _Nullable sourcePath, NSString* _Nullable sourcePicture, NSString* _Nullable bigPicture, NSString* _Nullable snapshotPicture); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageFromFullPath(NSString* _Nullable operationID, NSString* _Nullable imageFullPath); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateLocationMessage(NSString* _Nullable operationID, NSString* _Nullable description, double longitude, double latitude); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateMergerMessage(NSString* _Nullable operationID, NSString* _Nullable messageList, NSString* _Nullable title, NSString* _Nullable summaryList); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateQuoteMessage(NSString* _Nullable operationID, NSString* _Nullable text, NSString* _Nullable message); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessage(NSString* _Nullable operationID, NSString* _Nullable soundPath, int64_t duration); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageByURL(NSString* _Nullable operationID, NSString* _Nullable soundBaseInfo); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageFromFullPath(NSString* _Nullable operationID, NSString* _Nullable soundPath, int64_t duration); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextAtMessage(NSString* _Nullable operationID, NSString* _Nullable text, NSString* _Nullable atUserList, NSString* _Nullable atUsersInfo, NSString* _Nullable message); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextMessage(NSString* _Nullable operationID, NSString* _Nullable text); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessage(NSString* _Nullable operationID, NSString* _Nullable videoPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotPath); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageByURL(NSString* _Nullable operationID, NSString* _Nullable videoBaseInfo); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageFromFullPath(NSString* _Nullable operationID, NSString* _Nullable videoFullPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotFullPath); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteAllMsgFromLocal(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteAllMsgFromLocalAndSvr(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteConversationAndDeleteAllMsg(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteFriend(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable friendUserID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteMessage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable clientMsgID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteMessageFromLocalStorage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable clientMsgID); |
||||
|
||||
/**
|
||||
* DeleteUserCommand delete from user's favorite |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteUserCommand(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t Type, NSString* _Nullable uuid); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDismissGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkFindMessageList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable findMessageOptions); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetAdvancedHistoryMessageList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable getMessageOptions); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetAdvancedHistoryMessageListReverse(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable getMessageOptions); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetAllConversationList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
/**
|
||||
* GetAllUserCommands get user's favorite |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkGetAllUserCommands(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t Type); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetAtAllTag(NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetBlackList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetChannelMemberList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, int32_t filter, int32_t offset, int32_t count); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetConversationIDBySessionType(NSString* _Nullable operationID, NSString* _Nullable sourceID, long sessionType); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetConversationListSplit(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, long offset, long count); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetFriendApplicationListAsApplicant(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetFriendApplicationListAsRecipient(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetFriendList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, BOOL filterBlack); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetFriendListPage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t offset, int32_t count, BOOL filterBlack); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetGroupApplicationListAsApplicant(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetGroupApplicationListAsRecipient(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, int32_t filter, int32_t offset, int32_t count); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberListByJoinTimeFilter(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, int32_t offset, int32_t count, int64_t joinTimeBegin, int64_t joinTimeEnd, NSString* _Nullable filterUserIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberOwnerAndAdmin(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetInputStates(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable userID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetJoinedGroupList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetJoinedGroupListPage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t offset, int32_t count); |
||||
|
||||
FOUNDATION_EXPORT long Open_im_sdkGetLoginStatus(NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetLoginUserID(void); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetMultipleConversation(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetOneConversation(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t sessionType, NSString* _Nullable sourceID); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetSdkVersion(void); |
||||
|
||||
/**
|
||||
* GetSelfUserInfo obtains the user's own information. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkGetSelfUserInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetSpecifiedChannelMembersInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetSpecifiedChannelsInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetSpecifiedFriendsInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDList, BOOL filterBlack); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetSpecifiedGroupMembersInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetSpecifiedGroupsInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupIDList); |
||||
|
||||
/**
|
||||
* GetSubscribeUsersStatus Get the online status of subscribers. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkGetSubscribeUsersStatus(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetTotalUnreadMsgCount(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
/**
|
||||
* GetUserStatus Get the online status of users. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkGetUserStatus(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDs); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetUsersInChannel(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetUsersInGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetUsersInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDs); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkHideAllConversations(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkHideConversation(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID); |
||||
|
||||
FOUNDATION_EXPORT BOOL Open_im_sdkInitSDK(id<Open_im_sdk_callbackOnConnListener> _Nullable listener, NSString* _Nullable operationID, NSString* _Nullable config); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkInsertGroupMessageToLocalStorage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable message, NSString* _Nullable groupID, NSString* _Nullable channelID, NSString* _Nullable sendID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkInsertSingleMessageToLocalStorage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable message, NSString* _Nullable recvID, NSString* _Nullable sendID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkInviteUserToGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable reason, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkIsJoinChannel(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkIsJoinGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkJoinChannel(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, NSString* _Nullable reqMsg, int32_t joinSource, NSString* _Nullable ex); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkJoinGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable reqMsg, int32_t joinSource, NSString* _Nullable ex); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkKickGroupMember(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable reason, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkLogin(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userID, NSString* _Nullable token); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkLogout(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkLogs(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, long logLevel, NSString* _Nullable file, long line, NSString* _Nullable msgs, NSString* _Nullable err, NSString* _Nullable keyAndValue); |
||||
|
||||
/**
|
||||
* mark as read |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkMarkConversationMessageAsRead(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkMarkMessagesAsReadByMsgID(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable clientMsgIDs); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkNetworkStatusChanged(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT Open_im_sdkLoginMgr* _Nullable Open_im_sdkNewLoginMgr(void); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkQuitChannel(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkQuitGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkRefuseFriendApplication(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDHandleMsg); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkRefuseGroupApplication(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable fromUserID, NSString* _Nullable handleMsg); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkRemoveBlack(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable removeUserID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkRevokeMessage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable clientMsgID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSearchConversation(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable searchParam); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSearchFriends(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable searchParam); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSearchGroupMembers(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable searchParam); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSearchGroups(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable searchParam); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSearchLocalMessages(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable searchParam); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSendMessage(id<Open_im_sdk_callbackSendMsgCallBack> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable message, NSString* _Nullable recvID, NSString* _Nullable groupID, NSString* _Nullable channelID, NSString* _Nullable offlinePushInfo, BOOL isOnlineOnly); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSendMessageNotOss(id<Open_im_sdk_callbackSendMsgCallBack> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable message, NSString* _Nullable recvID, NSString* _Nullable groupID, NSString* _Nullable channelID, NSString* _Nullable offlinePushInfo, BOOL isOnlineOnly); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetAdvancedMsgListener(id<Open_im_sdk_callbackOnAdvancedMsgListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetAppBackgroundStatus(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, BOOL isBackground); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetAppBadge(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t appUnreadCount); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetBatchMsgListener(id<Open_im_sdk_callbackOnBatchMsgListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetChannelInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetChannelListener(id<Open_im_sdk_callbackOnChannelListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetChannelMemberInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelMemberInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetConversation(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable req); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetConversationDraft(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable draftText); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetConversationListener(id<Open_im_sdk_callbackOnConversationListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetCustomBusinessListener(id<Open_im_sdk_callbackOnCustomBusinessListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetFriendListener(id<Open_im_sdk_callbackOnFriendshipListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetGroupInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetGroupListener(id<Open_im_sdk_callbackOnGroupListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetGroupMemberInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupMemberInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetMessageKvInfoListener(id<Open_im_sdk_callbackOnMessageKvInfoListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetMessageLocalEx(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable clientMsgID, NSString* _Nullable localEx); |
||||
|
||||
/**
|
||||
* SetSelfInfo sets the user's own information. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkSetSelfInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetUserListener(id<Open_im_sdk_callbackOnUserListener> _Nullable listener); |
||||
|
||||
/**
|
||||
* SubscribeUsersStatus Presence status of subscribed users. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkSubscribeUsersStatus(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDs); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkTransferGroupOwner(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable newOwnerUserID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkTypingStatusUpdate(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable recvID, NSString* _Nullable msgTip); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkUnInitSDK(NSString* _Nullable operationID); |
||||
|
||||
/**
|
||||
* UnsubscribeUsersStatus Unsubscribe a user's presence. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkUnsubscribeUsersStatus(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDs); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkUpdateFcmToken(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable fcmToken, int64_t expireTime); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkUpdateFriends(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable req); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkUploadFile(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable req, id<Open_im_sdk_callbackUploadFileCallback> _Nullable progress); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkUploadLogs(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, long line, NSString* _Nullable ex, id<Open_im_sdk_callbackUploadLogProgress> _Nullable progress); |
||||
|
||||
#endif |
@ -0,0 +1,536 @@ |
||||
// Objective-C API for talking to github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback Go package.
|
||||
// gobind -lang=objc github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback
|
||||
//
|
||||
// File is generated by gobind. Do not edit.
|
||||
|
||||
#ifndef __Open_im_sdk_callback_H__ |
||||
#define __Open_im_sdk_callback_H__ |
||||
|
||||
@import Foundation; |
||||
#include "ref.h" |
||||
#include "Universe.objc.h" |
||||
|
||||
|
||||
@protocol Open_im_sdk_callbackBase; |
||||
@class Open_im_sdk_callbackBase; |
||||
@protocol Open_im_sdk_callbackOnAdvancedMsgListener; |
||||
@class Open_im_sdk_callbackOnAdvancedMsgListener; |
||||
@protocol Open_im_sdk_callbackOnBatchMsgListener; |
||||
@class Open_im_sdk_callbackOnBatchMsgListener; |
||||
@protocol Open_im_sdk_callbackOnChannelListener; |
||||
@class Open_im_sdk_callbackOnChannelListener; |
||||
@protocol Open_im_sdk_callbackOnConnListener; |
||||
@class Open_im_sdk_callbackOnConnListener; |
||||
@protocol Open_im_sdk_callbackOnConversationListener; |
||||
@class Open_im_sdk_callbackOnConversationListener; |
||||
@protocol Open_im_sdk_callbackOnCustomBusinessListener; |
||||
@class Open_im_sdk_callbackOnCustomBusinessListener; |
||||
@protocol Open_im_sdk_callbackOnFriendshipListener; |
||||
@class Open_im_sdk_callbackOnFriendshipListener; |
||||
@protocol Open_im_sdk_callbackOnFriendshipListenerSdk; |
||||
@class Open_im_sdk_callbackOnFriendshipListenerSdk; |
||||
@protocol Open_im_sdk_callbackOnGroupListener; |
||||
@class Open_im_sdk_callbackOnGroupListener; |
||||
@protocol Open_im_sdk_callbackOnListenerForService; |
||||
@class Open_im_sdk_callbackOnListenerForService; |
||||
@protocol Open_im_sdk_callbackOnMessageKvInfoListener; |
||||
@class Open_im_sdk_callbackOnMessageKvInfoListener; |
||||
@protocol Open_im_sdk_callbackOnSignalingListener; |
||||
@class Open_im_sdk_callbackOnSignalingListener; |
||||
@protocol Open_im_sdk_callbackOnUserListener; |
||||
@class Open_im_sdk_callbackOnUserListener; |
||||
@protocol Open_im_sdk_callbackSendMsgCallBack; |
||||
@class Open_im_sdk_callbackSendMsgCallBack; |
||||
@protocol Open_im_sdk_callbackUploadFileCallback; |
||||
@class Open_im_sdk_callbackUploadFileCallback; |
||||
@protocol Open_im_sdk_callbackUploadLogProgress; |
||||
@class Open_im_sdk_callbackUploadLogProgress; |
||||
|
||||
@protocol Open_im_sdk_callbackBase <NSObject> |
||||
- (void)onError:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onSuccess:(NSString* _Nullable)data; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnAdvancedMsgListener <NSObject> |
||||
- (void)onMsgDeleted:(NSString* _Nullable)message; |
||||
- (void)onNewRecvMessageRevoked:(NSString* _Nullable)messageRevoked; |
||||
- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; |
||||
- (void)onRecvNewMessage:(NSString* _Nullable)message; |
||||
- (void)onRecvOfflineNewMessage:(NSString* _Nullable)message; |
||||
- (void)onRecvOnlineOnlyMessage:(NSString* _Nullable)message; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnBatchMsgListener <NSObject> |
||||
- (void)onRecvNewMessages:(NSString* _Nullable)messageList; |
||||
- (void)onRecvOfflineNewMessages:(NSString* _Nullable)messageList; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnChannelListener <NSObject> |
||||
- (void)onChannelDismissed:(NSString* _Nullable)channelInfo; |
||||
- (void)onChannelInfoChanged:(NSString* _Nullable)channelInfo; |
||||
- (void)onChannelMemberAdded:(NSString* _Nullable)channelMemberInfo; |
||||
- (void)onChannelMemberDeleted:(NSString* _Nullable)channelMemberInfo; |
||||
- (void)onChannelMemberInfoChanged:(NSString* _Nullable)channelMemberInfo; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnConnListener <NSObject> |
||||
- (void)onConnectFailed:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onConnectSuccess; |
||||
- (void)onConnecting; |
||||
- (void)onKickedOffline; |
||||
- (void)onUserTokenExpired; |
||||
- (void)onUserTokenInvalid:(NSString* _Nullable)errMsg; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnConversationListener <NSObject> |
||||
- (void)onConversationChanged:(NSString* _Nullable)conversationList; |
||||
- (void)onConversationUserInputStatusChanged:(NSString* _Nullable)change; |
||||
- (void)onNewConversation:(NSString* _Nullable)conversationList; |
||||
- (void)onSyncServerFailed:(BOOL)reinstalled; |
||||
- (void)onSyncServerFinish:(BOOL)reinstalled; |
||||
- (void)onSyncServerProgress:(long)progress; |
||||
- (void)onSyncServerStart:(BOOL)reinstalled; |
||||
- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnCustomBusinessListener <NSObject> |
||||
- (void)onRecvCustomBusinessMessage:(NSString* _Nullable)businessMessage; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnFriendshipListener <NSObject> |
||||
- (void)onBlackAdded:(NSString* _Nullable)blackInfo; |
||||
- (void)onBlackDeleted:(NSString* _Nullable)blackInfo; |
||||
- (void)onFriendAdded:(NSString* _Nullable)friendInfo; |
||||
- (void)onFriendApplicationAccepted:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationAdded:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationDeleted:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationRejected:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendDeleted:(NSString* _Nullable)friendInfo; |
||||
- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnFriendshipListenerSdk <NSObject> |
||||
// skipped method OnFriendshipListenerSdk.OnBlackAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnBlackDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationAccepted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationRejected with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendInfoChanged with unsupported parameter or return types
|
||||
|
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnGroupListener <NSObject> |
||||
- (void)onGroupApplicationAccepted:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationAdded:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationDeleted:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationRejected:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupDismissed:(NSString* _Nullable)groupInfo; |
||||
- (void)onGroupInfoChanged:(NSString* _Nullable)groupInfo; |
||||
- (void)onGroupMemberAdded:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onGroupMemberDeleted:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onGroupMemberInfoChanged:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onJoinedGroupAdded:(NSString* _Nullable)groupInfo; |
||||
- (void)onJoinedGroupDeleted:(NSString* _Nullable)groupInfo; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnListenerForService <NSObject> |
||||
/**
|
||||
* OnFriendApplicationAccepted Friend request has been accepted |
||||
*/ |
||||
- (void)onFriendApplicationAccepted:(NSString* _Nullable)friendApplication; |
||||
/**
|
||||
* OnFriendApplicationAdded Someone applied to add you as a friend |
||||
*/ |
||||
- (void)onFriendApplicationAdded:(NSString* _Nullable)friendApplication; |
||||
/**
|
||||
* OnGroupApplicationAccepted Group join application has been accepted |
||||
*/ |
||||
- (void)onGroupApplicationAccepted:(NSString* _Nullable)groupApplication; |
||||
/**
|
||||
* OnGroupApplicationAdded Someone applied to join a group |
||||
*/ |
||||
- (void)onGroupApplicationAdded:(NSString* _Nullable)groupApplication; |
||||
/**
|
||||
* OnRecvNewMessage Received a new message |
||||
*/ |
||||
- (void)onRecvNewMessage:(NSString* _Nullable)message; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnMessageKvInfoListener <NSObject> |
||||
- (void)onMessageKvInfoChanged:(NSString* _Nullable)messageChangedList; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnSignalingListener <NSObject> |
||||
- (void)onHangUp:(NSString* _Nullable)hangUpCallback; |
||||
- (void)onInvitationCancelled:(NSString* _Nullable)invitationCancelledCallback; |
||||
- (void)onInvitationTimeout:(NSString* _Nullable)invitationTimeoutCallback; |
||||
- (void)onInviteeAccepted:(NSString* _Nullable)inviteeAcceptedCallback; |
||||
- (void)onInviteeAcceptedByOtherDevice:(NSString* _Nullable)inviteeAcceptedCallback; |
||||
- (void)onInviteeRejected:(NSString* _Nullable)inviteeRejectedCallback; |
||||
- (void)onInviteeRejectedByOtherDevice:(NSString* _Nullable)inviteeRejectedCallback; |
||||
- (void)onReceiveNewInvitation:(NSString* _Nullable)receiveNewInvitationCallback; |
||||
- (void)onRoomParticipantConnected:(NSString* _Nullable)onRoomParticipantConnectedCallback; |
||||
- (void)onRoomParticipantDisconnected:(NSString* _Nullable)onRoomParticipantDisconnectedCallback; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnUserListener <NSObject> |
||||
- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; |
||||
- (void)onUserCommandAdd:(NSString* _Nullable)userCommand; |
||||
- (void)onUserCommandDelete:(NSString* _Nullable)userCommand; |
||||
- (void)onUserCommandUpdate:(NSString* _Nullable)userCommand; |
||||
- (void)onUserStatusChanged:(NSString* _Nullable)userOnlineStatus; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackSendMsgCallBack <NSObject> |
||||
- (void)onError:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onProgress:(long)progress; |
||||
- (void)onSuccess:(NSString* _Nullable)data; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackUploadFileCallback <NSObject> |
||||
/**
|
||||
* Complete The file upload is complete, providing the final size, URL, and type of the file |
||||
*/ |
||||
- (void)complete:(int64_t)size url:(NSString* _Nullable)url typ:(long)typ; |
||||
/**
|
||||
* HashPartComplete All parts have been hashed, providing the combined hash of all parts and the final file hash |
||||
*/ |
||||
- (void)hashPartComplete:(NSString* _Nullable)partsHash fileHash:(NSString* _Nullable)fileHash; |
||||
/**
|
||||
* HashPartProgress Progress of hashing each part, including the part index, size, and hash value |
||||
*/ |
||||
- (void)hashPartProgress:(long)index size:(int64_t)size partHash:(NSString* _Nullable)partHash; |
||||
/**
|
||||
* Open a file with a given size |
||||
*/ |
||||
- (void)open:(int64_t)size; |
||||
/**
|
||||
* PartSize Set the size of each part and the total number of parts |
||||
*/ |
||||
- (void)partSize:(int64_t)partSize num:(long)num; |
||||
/**
|
||||
* UploadComplete The entire file upload progress, including the file size, stream size, and storage size |
||||
*/ |
||||
- (void)uploadComplete:(int64_t)fileSize streamSize:(int64_t)streamSize storageSize:(int64_t)storageSize; |
||||
/**
|
||||
* UploadID Upload ID is generated and provided |
||||
*/ |
||||
- (void)uploadID:(NSString* _Nullable)uploadID; |
||||
/**
|
||||
* UploadPartComplete A specific part has completed uploading, providing the part index, size, and hash value |
||||
*/ |
||||
- (void)uploadPartComplete:(long)index partSize:(int64_t)partSize partHash:(NSString* _Nullable)partHash; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackUploadLogProgress <NSObject> |
||||
- (void)onProgress:(int64_t)current size:(int64_t)size; |
||||
@end |
||||
|
||||
// skipped function NewOnFriendshipListenerSdk with unsupported parameter or return types
|
||||
|
||||
|
||||
@class Open_im_sdk_callbackBase; |
||||
|
||||
@class Open_im_sdk_callbackOnAdvancedMsgListener; |
||||
|
||||
@class Open_im_sdk_callbackOnBatchMsgListener; |
||||
|
||||
@class Open_im_sdk_callbackOnChannelListener; |
||||
|
||||
@class Open_im_sdk_callbackOnConnListener; |
||||
|
||||
@class Open_im_sdk_callbackOnConversationListener; |
||||
|
||||
@class Open_im_sdk_callbackOnCustomBusinessListener; |
||||
|
||||
@class Open_im_sdk_callbackOnFriendshipListener; |
||||
|
||||
@class Open_im_sdk_callbackOnFriendshipListenerSdk; |
||||
|
||||
@class Open_im_sdk_callbackOnGroupListener; |
||||
|
||||
@class Open_im_sdk_callbackOnListenerForService; |
||||
|
||||
@class Open_im_sdk_callbackOnMessageKvInfoListener; |
||||
|
||||
@class Open_im_sdk_callbackOnSignalingListener; |
||||
|
||||
@class Open_im_sdk_callbackOnUserListener; |
||||
|
||||
@class Open_im_sdk_callbackSendMsgCallBack; |
||||
|
||||
@class Open_im_sdk_callbackUploadFileCallback; |
||||
|
||||
@class Open_im_sdk_callbackUploadLogProgress; |
||||
|
||||
@interface Open_im_sdk_callbackBase : NSObject <goSeqRefInterface, Open_im_sdk_callbackBase> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onError:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onSuccess:(NSString* _Nullable)data; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnAdvancedMsgListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnAdvancedMsgListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onMsgDeleted:(NSString* _Nullable)message; |
||||
- (void)onNewRecvMessageRevoked:(NSString* _Nullable)messageRevoked; |
||||
- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; |
||||
- (void)onRecvNewMessage:(NSString* _Nullable)message; |
||||
- (void)onRecvOfflineNewMessage:(NSString* _Nullable)message; |
||||
- (void)onRecvOnlineOnlyMessage:(NSString* _Nullable)message; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnBatchMsgListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnBatchMsgListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onRecvNewMessages:(NSString* _Nullable)messageList; |
||||
- (void)onRecvOfflineNewMessages:(NSString* _Nullable)messageList; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnChannelListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnChannelListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onChannelDismissed:(NSString* _Nullable)channelInfo; |
||||
- (void)onChannelInfoChanged:(NSString* _Nullable)channelInfo; |
||||
- (void)onChannelMemberAdded:(NSString* _Nullable)channelMemberInfo; |
||||
- (void)onChannelMemberDeleted:(NSString* _Nullable)channelMemberInfo; |
||||
- (void)onChannelMemberInfoChanged:(NSString* _Nullable)channelMemberInfo; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnConnListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnConnListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onConnectFailed:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onConnectSuccess; |
||||
- (void)onConnecting; |
||||
- (void)onKickedOffline; |
||||
- (void)onUserTokenExpired; |
||||
- (void)onUserTokenInvalid:(NSString* _Nullable)errMsg; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnConversationListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnConversationListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onConversationChanged:(NSString* _Nullable)conversationList; |
||||
- (void)onConversationUserInputStatusChanged:(NSString* _Nullable)change; |
||||
- (void)onNewConversation:(NSString* _Nullable)conversationList; |
||||
- (void)onSyncServerFailed:(BOOL)reinstalled; |
||||
- (void)onSyncServerFinish:(BOOL)reinstalled; |
||||
- (void)onSyncServerProgress:(long)progress; |
||||
- (void)onSyncServerStart:(BOOL)reinstalled; |
||||
- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnCustomBusinessListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnCustomBusinessListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onRecvCustomBusinessMessage:(NSString* _Nullable)businessMessage; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnFriendshipListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnFriendshipListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onBlackAdded:(NSString* _Nullable)blackInfo; |
||||
- (void)onBlackDeleted:(NSString* _Nullable)blackInfo; |
||||
- (void)onFriendAdded:(NSString* _Nullable)friendInfo; |
||||
- (void)onFriendApplicationAccepted:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationAdded:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationDeleted:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationRejected:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendDeleted:(NSString* _Nullable)friendInfo; |
||||
- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnFriendshipListenerSdk : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnFriendshipListenerSdk> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
// skipped method OnFriendshipListenerSdk.OnBlackAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnBlackDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationAccepted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationRejected with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendInfoChanged with unsupported parameter or return types
|
||||
|
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnGroupListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnGroupListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onGroupApplicationAccepted:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationAdded:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationDeleted:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationRejected:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupDismissed:(NSString* _Nullable)groupInfo; |
||||
- (void)onGroupInfoChanged:(NSString* _Nullable)groupInfo; |
||||
- (void)onGroupMemberAdded:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onGroupMemberDeleted:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onGroupMemberInfoChanged:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onJoinedGroupAdded:(NSString* _Nullable)groupInfo; |
||||
- (void)onJoinedGroupDeleted:(NSString* _Nullable)groupInfo; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnListenerForService : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnListenerForService> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
/**
|
||||
* OnFriendApplicationAccepted Friend request has been accepted |
||||
*/ |
||||
- (void)onFriendApplicationAccepted:(NSString* _Nullable)friendApplication; |
||||
/**
|
||||
* OnFriendApplicationAdded Someone applied to add you as a friend |
||||
*/ |
||||
- (void)onFriendApplicationAdded:(NSString* _Nullable)friendApplication; |
||||
/**
|
||||
* OnGroupApplicationAccepted Group join application has been accepted |
||||
*/ |
||||
- (void)onGroupApplicationAccepted:(NSString* _Nullable)groupApplication; |
||||
/**
|
||||
* OnGroupApplicationAdded Someone applied to join a group |
||||
*/ |
||||
- (void)onGroupApplicationAdded:(NSString* _Nullable)groupApplication; |
||||
/**
|
||||
* OnRecvNewMessage Received a new message |
||||
*/ |
||||
- (void)onRecvNewMessage:(NSString* _Nullable)message; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnMessageKvInfoListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnMessageKvInfoListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onMessageKvInfoChanged:(NSString* _Nullable)messageChangedList; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnSignalingListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnSignalingListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onHangUp:(NSString* _Nullable)hangUpCallback; |
||||
- (void)onInvitationCancelled:(NSString* _Nullable)invitationCancelledCallback; |
||||
- (void)onInvitationTimeout:(NSString* _Nullable)invitationTimeoutCallback; |
||||
- (void)onInviteeAccepted:(NSString* _Nullable)inviteeAcceptedCallback; |
||||
- (void)onInviteeAcceptedByOtherDevice:(NSString* _Nullable)inviteeAcceptedCallback; |
||||
- (void)onInviteeRejected:(NSString* _Nullable)inviteeRejectedCallback; |
||||
- (void)onInviteeRejectedByOtherDevice:(NSString* _Nullable)inviteeRejectedCallback; |
||||
- (void)onReceiveNewInvitation:(NSString* _Nullable)receiveNewInvitationCallback; |
||||
- (void)onRoomParticipantConnected:(NSString* _Nullable)onRoomParticipantConnectedCallback; |
||||
- (void)onRoomParticipantDisconnected:(NSString* _Nullable)onRoomParticipantDisconnectedCallback; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnUserListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnUserListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; |
||||
- (void)onUserCommandAdd:(NSString* _Nullable)userCommand; |
||||
- (void)onUserCommandDelete:(NSString* _Nullable)userCommand; |
||||
- (void)onUserCommandUpdate:(NSString* _Nullable)userCommand; |
||||
- (void)onUserStatusChanged:(NSString* _Nullable)userOnlineStatus; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackSendMsgCallBack : NSObject <goSeqRefInterface, Open_im_sdk_callbackSendMsgCallBack> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onError:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onProgress:(long)progress; |
||||
- (void)onSuccess:(NSString* _Nullable)data; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackUploadFileCallback : NSObject <goSeqRefInterface, Open_im_sdk_callbackUploadFileCallback> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
/**
|
||||
* Complete The file upload is complete, providing the final size, URL, and type of the file |
||||
*/ |
||||
- (void)complete:(int64_t)size url:(NSString* _Nullable)url typ:(long)typ; |
||||
/**
|
||||
* HashPartComplete All parts have been hashed, providing the combined hash of all parts and the final file hash |
||||
*/ |
||||
- (void)hashPartComplete:(NSString* _Nullable)partsHash fileHash:(NSString* _Nullable)fileHash; |
||||
/**
|
||||
* HashPartProgress Progress of hashing each part, including the part index, size, and hash value |
||||
*/ |
||||
- (void)hashPartProgress:(long)index size:(int64_t)size partHash:(NSString* _Nullable)partHash; |
||||
/**
|
||||
* Open a file with a given size |
||||
*/ |
||||
- (void)open:(int64_t)size; |
||||
/**
|
||||
* PartSize Set the size of each part and the total number of parts |
||||
*/ |
||||
- (void)partSize:(int64_t)partSize num:(long)num; |
||||
/**
|
||||
* UploadComplete The entire file upload progress, including the file size, stream size, and storage size |
||||
*/ |
||||
- (void)uploadComplete:(int64_t)fileSize streamSize:(int64_t)streamSize storageSize:(int64_t)storageSize; |
||||
/**
|
||||
* UploadID Upload ID is generated and provided |
||||
*/ |
||||
- (void)uploadID:(NSString* _Nullable)uploadID; |
||||
/**
|
||||
* UploadPartComplete A specific part has completed uploading, providing the part index, size, and hash value |
||||
*/ |
||||
- (void)uploadPartComplete:(long)index partSize:(int64_t)partSize partHash:(NSString* _Nullable)partHash; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackUploadLogProgress : NSObject <goSeqRefInterface, Open_im_sdk_callbackUploadLogProgress> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onProgress:(int64_t)current size:(int64_t)size; |
||||
@end |
||||
|
||||
#endif |
@ -0,0 +1,29 @@ |
||||
// Objective-C API for talking to Go package.
|
||||
// gobind -lang=objc
|
||||
//
|
||||
// File is generated by gobind. Do not edit.
|
||||
|
||||
#ifndef __Universe_H__ |
||||
#define __Universe_H__ |
||||
|
||||
@import Foundation; |
||||
#include "ref.h" |
||||
|
||||
@protocol Universeerror; |
||||
@class Universeerror; |
||||
|
||||
@protocol Universeerror <NSObject> |
||||
- (NSString* _Nonnull)error; |
||||
@end |
||||
|
||||
@class Universeerror; |
||||
|
||||
@interface Universeerror : NSError <goSeqRefInterface, Universeerror> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (NSString* _Nonnull)error; |
||||
@end |
||||
|
||||
#endif |
@ -0,0 +1,35 @@ |
||||
// Copyright 2015 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
#ifndef __GO_REF_HDR__ |
||||
#define __GO_REF_HDR__ |
||||
|
||||
#include <Foundation/Foundation.h> |
||||
|
||||
// GoSeqRef is an object tagged with an integer for passing back and
|
||||
// forth across the language boundary. A GoSeqRef may represent either
|
||||
// an instance of a Go object, or an Objective-C object passed to Go.
|
||||
// The explicit allocation of a GoSeqRef is used to pin a Go object
|
||||
// when it is passed to Objective-C. The Go seq package maintains a
|
||||
// reference to the Go object in a map keyed by the refnum along with
|
||||
// a reference count. When the reference count reaches zero, the Go
|
||||
// seq package will clear the corresponding entry in the map.
|
||||
@interface GoSeqRef : NSObject { |
||||
} |
||||
@property(readonly) int32_t refnum; |
||||
@property(strong) id obj; // NULL when representing a Go object.
|
||||
|
||||
// new GoSeqRef object to proxy a Go object. The refnum must be
|
||||
// provided from Go side.
|
||||
- (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; |
||||
|
||||
- (int32_t)incNum; |
||||
|
||||
@end |
||||
|
||||
@protocol goSeqRefInterface |
||||
-(GoSeqRef*) _ref; |
||||
@end |
||||
|
||||
#endif |
@ -0,0 +1,18 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
||||
<plist version="1.0"> |
||||
<dict> |
||||
<key>CFBundleExecutable</key> |
||||
<string>OpenIMCore</string> |
||||
<key>CFBundleIdentifier</key> |
||||
<string>OpenIMCore</string> |
||||
<key>MinimumOSVersion</key> |
||||
<string>100.0</string> |
||||
<key>CFBundleShortVersionString</key> |
||||
<string>0.0.1731647705</string> |
||||
<key>CFBundleVersion</key> |
||||
<string>0.0.1731647705</string> |
||||
<key>CFBundlePackageType</key> |
||||
<string>FMWK</string> |
||||
</dict> |
||||
</plist> |
@ -0,0 +1,9 @@ |
||||
framework module "OpenIMCore" { |
||||
header "ref.h" |
||||
header "Open_im_sdk.objc.h" |
||||
header "Open_im_sdk_callback.objc.h" |
||||
header "Universe.objc.h" |
||||
header "OpenIMCore.h" |
||||
|
||||
export * |
||||
} |
Binary file not shown.
@ -0,0 +1,15 @@ |
||||
|
||||
// Objective-C API for talking to the following Go packages
|
||||
//
|
||||
// github.com/openimsdk/openim-sdk-core/v3/open_im_sdk
|
||||
// github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback
|
||||
//
|
||||
// File is generated by gomobile bind. Do not edit.
|
||||
#ifndef __OpenIMCore_FRAMEWORK_H__ |
||||
#define __OpenIMCore_FRAMEWORK_H__ |
||||
|
||||
#include "Open_im_sdk.objc.h" |
||||
#include "Open_im_sdk_callback.objc.h" |
||||
#include "Universe.objc.h" |
||||
|
||||
#endif |
@ -0,0 +1,418 @@ |
||||
// Objective-C API for talking to github.com/openimsdk/openim-sdk-core/v3/open_im_sdk Go package.
|
||||
// gobind -lang=objc github.com/openimsdk/openim-sdk-core/v3/open_im_sdk
|
||||
//
|
||||
// File is generated by gobind. Do not edit.
|
||||
|
||||
#ifndef __Open_im_sdk_H__ |
||||
#define __Open_im_sdk_H__ |
||||
|
||||
@import Foundation; |
||||
#include "ref.h" |
||||
#include "Universe.objc.h" |
||||
|
||||
#include "Open_im_sdk_callback.objc.h" |
||||
|
||||
@class Open_im_sdkLoginMgr; |
||||
|
||||
@interface Open_im_sdkLoginMgr : NSObject <goSeqRefInterface> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (nullable instancetype)init; |
||||
- (id<Open_im_sdk_callbackOnAdvancedMsgListener> _Nullable)advancedMsgListener; |
||||
- (id<Open_im_sdk_callbackOnBatchMsgListener> _Nullable)batchMsgListener; |
||||
- (id<Open_im_sdk_callbackOnCustomBusinessListener> _Nullable)businessListener; |
||||
// skipped method LoginMgr.Channel with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnChannelListener> _Nullable)channelListener; |
||||
// skipped method LoginMgr.Context with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.Conversation with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnConversationListener> _Nullable)conversationListener; |
||||
- (void)exit; |
||||
// skipped method LoginMgr.File with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnFriendshipListener> _Nullable)friendshipListener; |
||||
// skipped method LoginMgr.GetLoginStatus with unsupported parameter or return types
|
||||
|
||||
- (NSString* _Nonnull)getLoginUserID; |
||||
- (NSString* _Nonnull)getToken; |
||||
// skipped method LoginMgr.Group with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnGroupListener> _Nullable)groupListener; |
||||
// skipped method LoginMgr.ImConfig with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.InitSDK with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.Login with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.Logout with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.LongConnMgr with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnMessageKvInfoListener> _Nullable)msgKvListener; |
||||
// skipped method LoginMgr.NetworkStatusChanged with unsupported parameter or return types
|
||||
|
||||
// skipped method LoginMgr.Relation with unsupported parameter or return types
|
||||
|
||||
- (void)setAdvancedMsgListener:(id<Open_im_sdk_callbackOnAdvancedMsgListener> _Nullable)advancedMsgListener; |
||||
// skipped method LoginMgr.SetAppBackgroundStatus with unsupported parameter or return types
|
||||
|
||||
- (void)setBatchMsgListener:(id<Open_im_sdk_callbackOnBatchMsgListener> _Nullable)batchMsgListener; |
||||
- (void)setChannelListener:(id<Open_im_sdk_callbackOnChannelListener> _Nullable)channelListener; |
||||
- (void)setConversationListener:(id<Open_im_sdk_callbackOnConversationListener> _Nullable)conversationListener; |
||||
- (void)setCustomBusinessListener:(id<Open_im_sdk_callbackOnCustomBusinessListener> _Nullable)listener; |
||||
- (void)setFriendshipListener:(id<Open_im_sdk_callbackOnFriendshipListener> _Nullable)friendshipListener; |
||||
- (void)setGroupListener:(id<Open_im_sdk_callbackOnGroupListener> _Nullable)groupListener; |
||||
- (void)setMessageKvInfoListener:(id<Open_im_sdk_callbackOnMessageKvInfoListener> _Nullable)messageKvInfoListener; |
||||
- (void)setUserListener:(id<Open_im_sdk_callbackOnUserListener> _Nullable)userListener; |
||||
- (id<Open_im_sdk_callbackOnSignalingListener> _Nullable)signalingListener; |
||||
// skipped method LoginMgr.Third with unsupported parameter or return types
|
||||
|
||||
- (void)unInitSDK; |
||||
// skipped method LoginMgr.User with unsupported parameter or return types
|
||||
|
||||
- (id<Open_im_sdk_callbackOnUserListener> _Nullable)userListener; |
||||
@end |
||||
|
||||
FOUNDATION_EXPORT const int64_t Open_im_sdkLogged; |
||||
FOUNDATION_EXPORT const int64_t Open_im_sdkLogging; |
||||
FOUNDATION_EXPORT const int64_t Open_im_sdkLogoutStatus; |
||||
FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkLogoutTips; |
||||
|
||||
@interface Open_im_sdk : NSObject |
||||
+ (NSError* _Nullable) errNotImplemented; |
||||
+ (void) setErrNotImplemented:(NSError* _Nullable)v; |
||||
|
||||
/**
|
||||
* UserForSDK Client-independent user class |
||||
*/ |
||||
+ (Open_im_sdkLoginMgr* _Nullable) userForSDK; |
||||
+ (void) setUserForSDK:(Open_im_sdkLoginMgr* _Nullable)v; |
||||
|
||||
@end |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkAcceptFriendApplication(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDHandleMsg); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkAcceptGroupApplication(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable fromUserID, NSString* _Nullable handleMsg); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkAddBlack(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable blackUserID, NSString* _Nullable ex); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkAddFriend(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDReqMsg); |
||||
|
||||
/**
|
||||
* AddUserCommand add to user's favorite |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkAddUserCommand(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t Type, NSString* _Nullable uuid, NSString* _Nullable value); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkChangeChannelMemberMute(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, NSString* _Nullable userID, long mutedSeconds); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkChangeChannelMute(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, BOOL isMute); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkChangeGroupMemberMute(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable userID, long mutedSeconds); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkChangeGroupMute(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, BOOL isMute); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkChangeInputStates(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, BOOL focus); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkCheckFriend(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDList); |
||||
|
||||
/**
|
||||
* CheckResourceLoad checks the SDK is resource load status. |
||||
*/ |
||||
FOUNDATION_EXPORT BOOL Open_im_sdkCheckResourceLoad(Open_im_sdkLoginMgr* _Nullable uSDK, NSString* _Nullable funcName, NSError* _Nullable* _Nullable error); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkClearConversationAndDeleteAllMsg(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateAdvancedQuoteMessage(NSString* _Nullable operationID, NSString* _Nullable text, NSString* _Nullable message, NSString* _Nullable messageEntityList); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateAdvancedTextMessage(NSString* _Nullable operationID, NSString* _Nullable text, NSString* _Nullable messageEntityList); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCardMessage(NSString* _Nullable operationID, NSString* _Nullable cardInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkCreateChannel(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelReqInfo); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCustomMessage(NSString* _Nullable operationID, NSString* _Nullable data, NSString* _Nullable extension, NSString* _Nullable description); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFaceMessage(NSString* _Nullable operationID, long index, NSString* _Nullable data); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessage(NSString* _Nullable operationID, NSString* _Nullable filePath, NSString* _Nullable fileName); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageByURL(NSString* _Nullable operationID, NSString* _Nullable fileBaseInfo); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageFromFullPath(NSString* _Nullable operationID, NSString* _Nullable fileFullPath, NSString* _Nullable fileName); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateForwardMessage(NSString* _Nullable operationID, NSString* _Nullable m); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkCreateGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupReqInfo); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessage(NSString* _Nullable operationID, NSString* _Nullable imagePath); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageByURL(NSString* _Nullable operationID, NSString* _Nullable sourcePath, NSString* _Nullable sourcePicture, NSString* _Nullable bigPicture, NSString* _Nullable snapshotPicture); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageFromFullPath(NSString* _Nullable operationID, NSString* _Nullable imageFullPath); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateLocationMessage(NSString* _Nullable operationID, NSString* _Nullable description, double longitude, double latitude); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateMergerMessage(NSString* _Nullable operationID, NSString* _Nullable messageList, NSString* _Nullable title, NSString* _Nullable summaryList); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateQuoteMessage(NSString* _Nullable operationID, NSString* _Nullable text, NSString* _Nullable message); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessage(NSString* _Nullable operationID, NSString* _Nullable soundPath, int64_t duration); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageByURL(NSString* _Nullable operationID, NSString* _Nullable soundBaseInfo); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageFromFullPath(NSString* _Nullable operationID, NSString* _Nullable soundPath, int64_t duration); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextAtMessage(NSString* _Nullable operationID, NSString* _Nullable text, NSString* _Nullable atUserList, NSString* _Nullable atUsersInfo, NSString* _Nullable message); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextMessage(NSString* _Nullable operationID, NSString* _Nullable text); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessage(NSString* _Nullable operationID, NSString* _Nullable videoPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotPath); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageByURL(NSString* _Nullable operationID, NSString* _Nullable videoBaseInfo); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageFromFullPath(NSString* _Nullable operationID, NSString* _Nullable videoFullPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotFullPath); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteAllMsgFromLocal(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteAllMsgFromLocalAndSvr(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteConversationAndDeleteAllMsg(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteFriend(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable friendUserID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteMessage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable clientMsgID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteMessageFromLocalStorage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable clientMsgID); |
||||
|
||||
/**
|
||||
* DeleteUserCommand delete from user's favorite |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkDeleteUserCommand(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t Type, NSString* _Nullable uuid); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkDismissGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkFindMessageList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable findMessageOptions); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetAdvancedHistoryMessageList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable getMessageOptions); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetAdvancedHistoryMessageListReverse(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable getMessageOptions); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetAllConversationList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
/**
|
||||
* GetAllUserCommands get user's favorite |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkGetAllUserCommands(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t Type); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetAtAllTag(NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetBlackList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetChannelMemberList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, int32_t filter, int32_t offset, int32_t count); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetConversationIDBySessionType(NSString* _Nullable operationID, NSString* _Nullable sourceID, long sessionType); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetConversationListSplit(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, long offset, long count); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetFriendApplicationListAsApplicant(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetFriendApplicationListAsRecipient(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetFriendList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, BOOL filterBlack); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetFriendListPage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t offset, int32_t count, BOOL filterBlack); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetGroupApplicationListAsApplicant(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetGroupApplicationListAsRecipient(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, int32_t filter, int32_t offset, int32_t count); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberListByJoinTimeFilter(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, int32_t offset, int32_t count, int64_t joinTimeBegin, int64_t joinTimeEnd, NSString* _Nullable filterUserIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberOwnerAndAdmin(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetInputStates(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable userID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetJoinedGroupList(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetJoinedGroupListPage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t offset, int32_t count); |
||||
|
||||
FOUNDATION_EXPORT long Open_im_sdkGetLoginStatus(NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetLoginUserID(void); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetMultipleConversation(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetOneConversation(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t sessionType, NSString* _Nullable sourceID); |
||||
|
||||
FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetSdkVersion(void); |
||||
|
||||
/**
|
||||
* GetSelfUserInfo obtains the user's own information. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkGetSelfUserInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetSpecifiedChannelMembersInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetSpecifiedChannelsInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetSpecifiedFriendsInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDList, BOOL filterBlack); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetSpecifiedGroupMembersInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetSpecifiedGroupsInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupIDList); |
||||
|
||||
/**
|
||||
* GetSubscribeUsersStatus Get the online status of subscribers. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkGetSubscribeUsersStatus(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetTotalUnreadMsgCount(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
/**
|
||||
* GetUserStatus Get the online status of users. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkGetUserStatus(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDs); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetUsersInChannel(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetUsersInGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkGetUsersInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDs); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkHideAllConversations(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkHideConversation(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID); |
||||
|
||||
FOUNDATION_EXPORT BOOL Open_im_sdkInitSDK(id<Open_im_sdk_callbackOnConnListener> _Nullable listener, NSString* _Nullable operationID, NSString* _Nullable config); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkInsertGroupMessageToLocalStorage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable message, NSString* _Nullable groupID, NSString* _Nullable channelID, NSString* _Nullable sendID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkInsertSingleMessageToLocalStorage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable message, NSString* _Nullable recvID, NSString* _Nullable sendID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkInviteUserToGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable reason, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkIsJoinChannel(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkIsJoinGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkJoinChannel(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID, NSString* _Nullable reqMsg, int32_t joinSource, NSString* _Nullable ex); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkJoinGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable reqMsg, int32_t joinSource, NSString* _Nullable ex); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkKickGroupMember(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable reason, NSString* _Nullable userIDList); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkLogin(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userID, NSString* _Nullable token); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkLogout(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkLogs(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, long logLevel, NSString* _Nullable file, long line, NSString* _Nullable msgs, NSString* _Nullable err, NSString* _Nullable keyAndValue); |
||||
|
||||
/**
|
||||
* mark as read |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkMarkConversationMessageAsRead(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkMarkMessagesAsReadByMsgID(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable clientMsgIDs); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkNetworkStatusChanged(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID); |
||||
|
||||
FOUNDATION_EXPORT Open_im_sdkLoginMgr* _Nullable Open_im_sdkNewLoginMgr(void); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkQuitChannel(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkQuitGroup(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkRefuseFriendApplication(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDHandleMsg); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkRefuseGroupApplication(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable fromUserID, NSString* _Nullable handleMsg); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkRemoveBlack(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable removeUserID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkRevokeMessage(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable clientMsgID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSearchConversation(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable searchParam); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSearchFriends(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable searchParam); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSearchGroupMembers(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable searchParam); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSearchGroups(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable searchParam); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSearchLocalMessages(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable searchParam); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSendMessage(id<Open_im_sdk_callbackSendMsgCallBack> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable message, NSString* _Nullable recvID, NSString* _Nullable groupID, NSString* _Nullable channelID, NSString* _Nullable offlinePushInfo, BOOL isOnlineOnly); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSendMessageNotOss(id<Open_im_sdk_callbackSendMsgCallBack> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable message, NSString* _Nullable recvID, NSString* _Nullable groupID, NSString* _Nullable channelID, NSString* _Nullable offlinePushInfo, BOOL isOnlineOnly); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetAdvancedMsgListener(id<Open_im_sdk_callbackOnAdvancedMsgListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetAppBackgroundStatus(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, BOOL isBackground); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetAppBadge(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, int32_t appUnreadCount); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetBatchMsgListener(id<Open_im_sdk_callbackOnBatchMsgListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetChannelInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetChannelListener(id<Open_im_sdk_callbackOnChannelListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetChannelMemberInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable channelMemberInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetConversation(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable req); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetConversationDraft(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable draftText); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetConversationListener(id<Open_im_sdk_callbackOnConversationListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetCustomBusinessListener(id<Open_im_sdk_callbackOnCustomBusinessListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetFriendListener(id<Open_im_sdk_callbackOnFriendshipListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetGroupInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetGroupListener(id<Open_im_sdk_callbackOnGroupListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetGroupMemberInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupMemberInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetMessageKvInfoListener(id<Open_im_sdk_callbackOnMessageKvInfoListener> _Nullable listener); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetMessageLocalEx(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable conversationID, NSString* _Nullable clientMsgID, NSString* _Nullable localEx); |
||||
|
||||
/**
|
||||
* SetSelfInfo sets the user's own information. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkSetSelfInfo(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userInfo); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkSetUserListener(id<Open_im_sdk_callbackOnUserListener> _Nullable listener); |
||||
|
||||
/**
|
||||
* SubscribeUsersStatus Presence status of subscribed users. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkSubscribeUsersStatus(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDs); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkTransferGroupOwner(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable groupID, NSString* _Nullable newOwnerUserID); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkTypingStatusUpdate(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable recvID, NSString* _Nullable msgTip); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkUnInitSDK(NSString* _Nullable operationID); |
||||
|
||||
/**
|
||||
* UnsubscribeUsersStatus Unsubscribe a user's presence. |
||||
*/ |
||||
FOUNDATION_EXPORT void Open_im_sdkUnsubscribeUsersStatus(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable userIDs); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkUpdateFcmToken(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable fcmToken, int64_t expireTime); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkUpdateFriends(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable req); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkUploadFile(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, NSString* _Nullable req, id<Open_im_sdk_callbackUploadFileCallback> _Nullable progress); |
||||
|
||||
FOUNDATION_EXPORT void Open_im_sdkUploadLogs(id<Open_im_sdk_callbackBase> _Nullable callback, NSString* _Nullable operationID, long line, NSString* _Nullable ex, id<Open_im_sdk_callbackUploadLogProgress> _Nullable progress); |
||||
|
||||
#endif |
@ -0,0 +1,536 @@ |
||||
// Objective-C API for talking to github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback Go package.
|
||||
// gobind -lang=objc github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback
|
||||
//
|
||||
// File is generated by gobind. Do not edit.
|
||||
|
||||
#ifndef __Open_im_sdk_callback_H__ |
||||
#define __Open_im_sdk_callback_H__ |
||||
|
||||
@import Foundation; |
||||
#include "ref.h" |
||||
#include "Universe.objc.h" |
||||
|
||||
|
||||
@protocol Open_im_sdk_callbackBase; |
||||
@class Open_im_sdk_callbackBase; |
||||
@protocol Open_im_sdk_callbackOnAdvancedMsgListener; |
||||
@class Open_im_sdk_callbackOnAdvancedMsgListener; |
||||
@protocol Open_im_sdk_callbackOnBatchMsgListener; |
||||
@class Open_im_sdk_callbackOnBatchMsgListener; |
||||
@protocol Open_im_sdk_callbackOnChannelListener; |
||||
@class Open_im_sdk_callbackOnChannelListener; |
||||
@protocol Open_im_sdk_callbackOnConnListener; |
||||
@class Open_im_sdk_callbackOnConnListener; |
||||
@protocol Open_im_sdk_callbackOnConversationListener; |
||||
@class Open_im_sdk_callbackOnConversationListener; |
||||
@protocol Open_im_sdk_callbackOnCustomBusinessListener; |
||||
@class Open_im_sdk_callbackOnCustomBusinessListener; |
||||
@protocol Open_im_sdk_callbackOnFriendshipListener; |
||||
@class Open_im_sdk_callbackOnFriendshipListener; |
||||
@protocol Open_im_sdk_callbackOnFriendshipListenerSdk; |
||||
@class Open_im_sdk_callbackOnFriendshipListenerSdk; |
||||
@protocol Open_im_sdk_callbackOnGroupListener; |
||||
@class Open_im_sdk_callbackOnGroupListener; |
||||
@protocol Open_im_sdk_callbackOnListenerForService; |
||||
@class Open_im_sdk_callbackOnListenerForService; |
||||
@protocol Open_im_sdk_callbackOnMessageKvInfoListener; |
||||
@class Open_im_sdk_callbackOnMessageKvInfoListener; |
||||
@protocol Open_im_sdk_callbackOnSignalingListener; |
||||
@class Open_im_sdk_callbackOnSignalingListener; |
||||
@protocol Open_im_sdk_callbackOnUserListener; |
||||
@class Open_im_sdk_callbackOnUserListener; |
||||
@protocol Open_im_sdk_callbackSendMsgCallBack; |
||||
@class Open_im_sdk_callbackSendMsgCallBack; |
||||
@protocol Open_im_sdk_callbackUploadFileCallback; |
||||
@class Open_im_sdk_callbackUploadFileCallback; |
||||
@protocol Open_im_sdk_callbackUploadLogProgress; |
||||
@class Open_im_sdk_callbackUploadLogProgress; |
||||
|
||||
@protocol Open_im_sdk_callbackBase <NSObject> |
||||
- (void)onError:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onSuccess:(NSString* _Nullable)data; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnAdvancedMsgListener <NSObject> |
||||
- (void)onMsgDeleted:(NSString* _Nullable)message; |
||||
- (void)onNewRecvMessageRevoked:(NSString* _Nullable)messageRevoked; |
||||
- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; |
||||
- (void)onRecvNewMessage:(NSString* _Nullable)message; |
||||
- (void)onRecvOfflineNewMessage:(NSString* _Nullable)message; |
||||
- (void)onRecvOnlineOnlyMessage:(NSString* _Nullable)message; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnBatchMsgListener <NSObject> |
||||
- (void)onRecvNewMessages:(NSString* _Nullable)messageList; |
||||
- (void)onRecvOfflineNewMessages:(NSString* _Nullable)messageList; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnChannelListener <NSObject> |
||||
- (void)onChannelDismissed:(NSString* _Nullable)channelInfo; |
||||
- (void)onChannelInfoChanged:(NSString* _Nullable)channelInfo; |
||||
- (void)onChannelMemberAdded:(NSString* _Nullable)channelMemberInfo; |
||||
- (void)onChannelMemberDeleted:(NSString* _Nullable)channelMemberInfo; |
||||
- (void)onChannelMemberInfoChanged:(NSString* _Nullable)channelMemberInfo; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnConnListener <NSObject> |
||||
- (void)onConnectFailed:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onConnectSuccess; |
||||
- (void)onConnecting; |
||||
- (void)onKickedOffline; |
||||
- (void)onUserTokenExpired; |
||||
- (void)onUserTokenInvalid:(NSString* _Nullable)errMsg; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnConversationListener <NSObject> |
||||
- (void)onConversationChanged:(NSString* _Nullable)conversationList; |
||||
- (void)onConversationUserInputStatusChanged:(NSString* _Nullable)change; |
||||
- (void)onNewConversation:(NSString* _Nullable)conversationList; |
||||
- (void)onSyncServerFailed:(BOOL)reinstalled; |
||||
- (void)onSyncServerFinish:(BOOL)reinstalled; |
||||
- (void)onSyncServerProgress:(long)progress; |
||||
- (void)onSyncServerStart:(BOOL)reinstalled; |
||||
- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnCustomBusinessListener <NSObject> |
||||
- (void)onRecvCustomBusinessMessage:(NSString* _Nullable)businessMessage; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnFriendshipListener <NSObject> |
||||
- (void)onBlackAdded:(NSString* _Nullable)blackInfo; |
||||
- (void)onBlackDeleted:(NSString* _Nullable)blackInfo; |
||||
- (void)onFriendAdded:(NSString* _Nullable)friendInfo; |
||||
- (void)onFriendApplicationAccepted:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationAdded:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationDeleted:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationRejected:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendDeleted:(NSString* _Nullable)friendInfo; |
||||
- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnFriendshipListenerSdk <NSObject> |
||||
// skipped method OnFriendshipListenerSdk.OnBlackAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnBlackDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationAccepted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationRejected with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendInfoChanged with unsupported parameter or return types
|
||||
|
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnGroupListener <NSObject> |
||||
- (void)onGroupApplicationAccepted:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationAdded:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationDeleted:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationRejected:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupDismissed:(NSString* _Nullable)groupInfo; |
||||
- (void)onGroupInfoChanged:(NSString* _Nullable)groupInfo; |
||||
- (void)onGroupMemberAdded:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onGroupMemberDeleted:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onGroupMemberInfoChanged:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onJoinedGroupAdded:(NSString* _Nullable)groupInfo; |
||||
- (void)onJoinedGroupDeleted:(NSString* _Nullable)groupInfo; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnListenerForService <NSObject> |
||||
/**
|
||||
* OnFriendApplicationAccepted Friend request has been accepted |
||||
*/ |
||||
- (void)onFriendApplicationAccepted:(NSString* _Nullable)friendApplication; |
||||
/**
|
||||
* OnFriendApplicationAdded Someone applied to add you as a friend |
||||
*/ |
||||
- (void)onFriendApplicationAdded:(NSString* _Nullable)friendApplication; |
||||
/**
|
||||
* OnGroupApplicationAccepted Group join application has been accepted |
||||
*/ |
||||
- (void)onGroupApplicationAccepted:(NSString* _Nullable)groupApplication; |
||||
/**
|
||||
* OnGroupApplicationAdded Someone applied to join a group |
||||
*/ |
||||
- (void)onGroupApplicationAdded:(NSString* _Nullable)groupApplication; |
||||
/**
|
||||
* OnRecvNewMessage Received a new message |
||||
*/ |
||||
- (void)onRecvNewMessage:(NSString* _Nullable)message; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnMessageKvInfoListener <NSObject> |
||||
- (void)onMessageKvInfoChanged:(NSString* _Nullable)messageChangedList; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnSignalingListener <NSObject> |
||||
- (void)onHangUp:(NSString* _Nullable)hangUpCallback; |
||||
- (void)onInvitationCancelled:(NSString* _Nullable)invitationCancelledCallback; |
||||
- (void)onInvitationTimeout:(NSString* _Nullable)invitationTimeoutCallback; |
||||
- (void)onInviteeAccepted:(NSString* _Nullable)inviteeAcceptedCallback; |
||||
- (void)onInviteeAcceptedByOtherDevice:(NSString* _Nullable)inviteeAcceptedCallback; |
||||
- (void)onInviteeRejected:(NSString* _Nullable)inviteeRejectedCallback; |
||||
- (void)onInviteeRejectedByOtherDevice:(NSString* _Nullable)inviteeRejectedCallback; |
||||
- (void)onReceiveNewInvitation:(NSString* _Nullable)receiveNewInvitationCallback; |
||||
- (void)onRoomParticipantConnected:(NSString* _Nullable)onRoomParticipantConnectedCallback; |
||||
- (void)onRoomParticipantDisconnected:(NSString* _Nullable)onRoomParticipantDisconnectedCallback; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackOnUserListener <NSObject> |
||||
- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; |
||||
- (void)onUserCommandAdd:(NSString* _Nullable)userCommand; |
||||
- (void)onUserCommandDelete:(NSString* _Nullable)userCommand; |
||||
- (void)onUserCommandUpdate:(NSString* _Nullable)userCommand; |
||||
- (void)onUserStatusChanged:(NSString* _Nullable)userOnlineStatus; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackSendMsgCallBack <NSObject> |
||||
- (void)onError:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onProgress:(long)progress; |
||||
- (void)onSuccess:(NSString* _Nullable)data; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackUploadFileCallback <NSObject> |
||||
/**
|
||||
* Complete The file upload is complete, providing the final size, URL, and type of the file |
||||
*/ |
||||
- (void)complete:(int64_t)size url:(NSString* _Nullable)url typ:(long)typ; |
||||
/**
|
||||
* HashPartComplete All parts have been hashed, providing the combined hash of all parts and the final file hash |
||||
*/ |
||||
- (void)hashPartComplete:(NSString* _Nullable)partsHash fileHash:(NSString* _Nullable)fileHash; |
||||
/**
|
||||
* HashPartProgress Progress of hashing each part, including the part index, size, and hash value |
||||
*/ |
||||
- (void)hashPartProgress:(long)index size:(int64_t)size partHash:(NSString* _Nullable)partHash; |
||||
/**
|
||||
* Open a file with a given size |
||||
*/ |
||||
- (void)open:(int64_t)size; |
||||
/**
|
||||
* PartSize Set the size of each part and the total number of parts |
||||
*/ |
||||
- (void)partSize:(int64_t)partSize num:(long)num; |
||||
/**
|
||||
* UploadComplete The entire file upload progress, including the file size, stream size, and storage size |
||||
*/ |
||||
- (void)uploadComplete:(int64_t)fileSize streamSize:(int64_t)streamSize storageSize:(int64_t)storageSize; |
||||
/**
|
||||
* UploadID Upload ID is generated and provided |
||||
*/ |
||||
- (void)uploadID:(NSString* _Nullable)uploadID; |
||||
/**
|
||||
* UploadPartComplete A specific part has completed uploading, providing the part index, size, and hash value |
||||
*/ |
||||
- (void)uploadPartComplete:(long)index partSize:(int64_t)partSize partHash:(NSString* _Nullable)partHash; |
||||
@end |
||||
|
||||
@protocol Open_im_sdk_callbackUploadLogProgress <NSObject> |
||||
- (void)onProgress:(int64_t)current size:(int64_t)size; |
||||
@end |
||||
|
||||
// skipped function NewOnFriendshipListenerSdk with unsupported parameter or return types
|
||||
|
||||
|
||||
@class Open_im_sdk_callbackBase; |
||||
|
||||
@class Open_im_sdk_callbackOnAdvancedMsgListener; |
||||
|
||||
@class Open_im_sdk_callbackOnBatchMsgListener; |
||||
|
||||
@class Open_im_sdk_callbackOnChannelListener; |
||||
|
||||
@class Open_im_sdk_callbackOnConnListener; |
||||
|
||||
@class Open_im_sdk_callbackOnConversationListener; |
||||
|
||||
@class Open_im_sdk_callbackOnCustomBusinessListener; |
||||
|
||||
@class Open_im_sdk_callbackOnFriendshipListener; |
||||
|
||||
@class Open_im_sdk_callbackOnFriendshipListenerSdk; |
||||
|
||||
@class Open_im_sdk_callbackOnGroupListener; |
||||
|
||||
@class Open_im_sdk_callbackOnListenerForService; |
||||
|
||||
@class Open_im_sdk_callbackOnMessageKvInfoListener; |
||||
|
||||
@class Open_im_sdk_callbackOnSignalingListener; |
||||
|
||||
@class Open_im_sdk_callbackOnUserListener; |
||||
|
||||
@class Open_im_sdk_callbackSendMsgCallBack; |
||||
|
||||
@class Open_im_sdk_callbackUploadFileCallback; |
||||
|
||||
@class Open_im_sdk_callbackUploadLogProgress; |
||||
|
||||
@interface Open_im_sdk_callbackBase : NSObject <goSeqRefInterface, Open_im_sdk_callbackBase> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onError:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onSuccess:(NSString* _Nullable)data; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnAdvancedMsgListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnAdvancedMsgListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onMsgDeleted:(NSString* _Nullable)message; |
||||
- (void)onNewRecvMessageRevoked:(NSString* _Nullable)messageRevoked; |
||||
- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; |
||||
- (void)onRecvNewMessage:(NSString* _Nullable)message; |
||||
- (void)onRecvOfflineNewMessage:(NSString* _Nullable)message; |
||||
- (void)onRecvOnlineOnlyMessage:(NSString* _Nullable)message; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnBatchMsgListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnBatchMsgListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onRecvNewMessages:(NSString* _Nullable)messageList; |
||||
- (void)onRecvOfflineNewMessages:(NSString* _Nullable)messageList; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnChannelListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnChannelListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onChannelDismissed:(NSString* _Nullable)channelInfo; |
||||
- (void)onChannelInfoChanged:(NSString* _Nullable)channelInfo; |
||||
- (void)onChannelMemberAdded:(NSString* _Nullable)channelMemberInfo; |
||||
- (void)onChannelMemberDeleted:(NSString* _Nullable)channelMemberInfo; |
||||
- (void)onChannelMemberInfoChanged:(NSString* _Nullable)channelMemberInfo; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnConnListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnConnListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onConnectFailed:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onConnectSuccess; |
||||
- (void)onConnecting; |
||||
- (void)onKickedOffline; |
||||
- (void)onUserTokenExpired; |
||||
- (void)onUserTokenInvalid:(NSString* _Nullable)errMsg; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnConversationListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnConversationListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onConversationChanged:(NSString* _Nullable)conversationList; |
||||
- (void)onConversationUserInputStatusChanged:(NSString* _Nullable)change; |
||||
- (void)onNewConversation:(NSString* _Nullable)conversationList; |
||||
- (void)onSyncServerFailed:(BOOL)reinstalled; |
||||
- (void)onSyncServerFinish:(BOOL)reinstalled; |
||||
- (void)onSyncServerProgress:(long)progress; |
||||
- (void)onSyncServerStart:(BOOL)reinstalled; |
||||
- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnCustomBusinessListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnCustomBusinessListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onRecvCustomBusinessMessage:(NSString* _Nullable)businessMessage; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnFriendshipListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnFriendshipListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onBlackAdded:(NSString* _Nullable)blackInfo; |
||||
- (void)onBlackDeleted:(NSString* _Nullable)blackInfo; |
||||
- (void)onFriendAdded:(NSString* _Nullable)friendInfo; |
||||
- (void)onFriendApplicationAccepted:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationAdded:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationDeleted:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendApplicationRejected:(NSString* _Nullable)friendApplication; |
||||
- (void)onFriendDeleted:(NSString* _Nullable)friendInfo; |
||||
- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnFriendshipListenerSdk : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnFriendshipListenerSdk> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
// skipped method OnFriendshipListenerSdk.OnBlackAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnBlackDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationAccepted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationAdded with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendApplicationRejected with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendDeleted with unsupported parameter or return types
|
||||
|
||||
// skipped method OnFriendshipListenerSdk.OnFriendInfoChanged with unsupported parameter or return types
|
||||
|
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnGroupListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnGroupListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onGroupApplicationAccepted:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationAdded:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationDeleted:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupApplicationRejected:(NSString* _Nullable)groupApplication; |
||||
- (void)onGroupDismissed:(NSString* _Nullable)groupInfo; |
||||
- (void)onGroupInfoChanged:(NSString* _Nullable)groupInfo; |
||||
- (void)onGroupMemberAdded:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onGroupMemberDeleted:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onGroupMemberInfoChanged:(NSString* _Nullable)groupMemberInfo; |
||||
- (void)onJoinedGroupAdded:(NSString* _Nullable)groupInfo; |
||||
- (void)onJoinedGroupDeleted:(NSString* _Nullable)groupInfo; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnListenerForService : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnListenerForService> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
/**
|
||||
* OnFriendApplicationAccepted Friend request has been accepted |
||||
*/ |
||||
- (void)onFriendApplicationAccepted:(NSString* _Nullable)friendApplication; |
||||
/**
|
||||
* OnFriendApplicationAdded Someone applied to add you as a friend |
||||
*/ |
||||
- (void)onFriendApplicationAdded:(NSString* _Nullable)friendApplication; |
||||
/**
|
||||
* OnGroupApplicationAccepted Group join application has been accepted |
||||
*/ |
||||
- (void)onGroupApplicationAccepted:(NSString* _Nullable)groupApplication; |
||||
/**
|
||||
* OnGroupApplicationAdded Someone applied to join a group |
||||
*/ |
||||
- (void)onGroupApplicationAdded:(NSString* _Nullable)groupApplication; |
||||
/**
|
||||
* OnRecvNewMessage Received a new message |
||||
*/ |
||||
- (void)onRecvNewMessage:(NSString* _Nullable)message; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnMessageKvInfoListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnMessageKvInfoListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onMessageKvInfoChanged:(NSString* _Nullable)messageChangedList; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnSignalingListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnSignalingListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onHangUp:(NSString* _Nullable)hangUpCallback; |
||||
- (void)onInvitationCancelled:(NSString* _Nullable)invitationCancelledCallback; |
||||
- (void)onInvitationTimeout:(NSString* _Nullable)invitationTimeoutCallback; |
||||
- (void)onInviteeAccepted:(NSString* _Nullable)inviteeAcceptedCallback; |
||||
- (void)onInviteeAcceptedByOtherDevice:(NSString* _Nullable)inviteeAcceptedCallback; |
||||
- (void)onInviteeRejected:(NSString* _Nullable)inviteeRejectedCallback; |
||||
- (void)onInviteeRejectedByOtherDevice:(NSString* _Nullable)inviteeRejectedCallback; |
||||
- (void)onReceiveNewInvitation:(NSString* _Nullable)receiveNewInvitationCallback; |
||||
- (void)onRoomParticipantConnected:(NSString* _Nullable)onRoomParticipantConnectedCallback; |
||||
- (void)onRoomParticipantDisconnected:(NSString* _Nullable)onRoomParticipantDisconnectedCallback; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackOnUserListener : NSObject <goSeqRefInterface, Open_im_sdk_callbackOnUserListener> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; |
||||
- (void)onUserCommandAdd:(NSString* _Nullable)userCommand; |
||||
- (void)onUserCommandDelete:(NSString* _Nullable)userCommand; |
||||
- (void)onUserCommandUpdate:(NSString* _Nullable)userCommand; |
||||
- (void)onUserStatusChanged:(NSString* _Nullable)userOnlineStatus; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackSendMsgCallBack : NSObject <goSeqRefInterface, Open_im_sdk_callbackSendMsgCallBack> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onError:(int32_t)errCode errMsg:(NSString* _Nullable)errMsg; |
||||
- (void)onProgress:(long)progress; |
||||
- (void)onSuccess:(NSString* _Nullable)data; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackUploadFileCallback : NSObject <goSeqRefInterface, Open_im_sdk_callbackUploadFileCallback> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
/**
|
||||
* Complete The file upload is complete, providing the final size, URL, and type of the file |
||||
*/ |
||||
- (void)complete:(int64_t)size url:(NSString* _Nullable)url typ:(long)typ; |
||||
/**
|
||||
* HashPartComplete All parts have been hashed, providing the combined hash of all parts and the final file hash |
||||
*/ |
||||
- (void)hashPartComplete:(NSString* _Nullable)partsHash fileHash:(NSString* _Nullable)fileHash; |
||||
/**
|
||||
* HashPartProgress Progress of hashing each part, including the part index, size, and hash value |
||||
*/ |
||||
- (void)hashPartProgress:(long)index size:(int64_t)size partHash:(NSString* _Nullable)partHash; |
||||
/**
|
||||
* Open a file with a given size |
||||
*/ |
||||
- (void)open:(int64_t)size; |
||||
/**
|
||||
* PartSize Set the size of each part and the total number of parts |
||||
*/ |
||||
- (void)partSize:(int64_t)partSize num:(long)num; |
||||
/**
|
||||
* UploadComplete The entire file upload progress, including the file size, stream size, and storage size |
||||
*/ |
||||
- (void)uploadComplete:(int64_t)fileSize streamSize:(int64_t)streamSize storageSize:(int64_t)storageSize; |
||||
/**
|
||||
* UploadID Upload ID is generated and provided |
||||
*/ |
||||
- (void)uploadID:(NSString* _Nullable)uploadID; |
||||
/**
|
||||
* UploadPartComplete A specific part has completed uploading, providing the part index, size, and hash value |
||||
*/ |
||||
- (void)uploadPartComplete:(long)index partSize:(int64_t)partSize partHash:(NSString* _Nullable)partHash; |
||||
@end |
||||
|
||||
@interface Open_im_sdk_callbackUploadLogProgress : NSObject <goSeqRefInterface, Open_im_sdk_callbackUploadLogProgress> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (void)onProgress:(int64_t)current size:(int64_t)size; |
||||
@end |
||||
|
||||
#endif |
@ -0,0 +1,29 @@ |
||||
// Objective-C API for talking to Go package.
|
||||
// gobind -lang=objc
|
||||
//
|
||||
// File is generated by gobind. Do not edit.
|
||||
|
||||
#ifndef __Universe_H__ |
||||
#define __Universe_H__ |
||||
|
||||
@import Foundation; |
||||
#include "ref.h" |
||||
|
||||
@protocol Universeerror; |
||||
@class Universeerror; |
||||
|
||||
@protocol Universeerror <NSObject> |
||||
- (NSString* _Nonnull)error; |
||||
@end |
||||
|
||||
@class Universeerror; |
||||
|
||||
@interface Universeerror : NSError <goSeqRefInterface, Universeerror> { |
||||
} |
||||
@property(strong, readonly) _Nonnull id _ref; |
||||
|
||||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; |
||||
- (NSString* _Nonnull)error; |
||||
@end |
||||
|
||||
#endif |
@ -0,0 +1,35 @@ |
||||
// Copyright 2015 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
#ifndef __GO_REF_HDR__ |
||||
#define __GO_REF_HDR__ |
||||
|
||||
#include <Foundation/Foundation.h> |
||||
|
||||
// GoSeqRef is an object tagged with an integer for passing back and
|
||||
// forth across the language boundary. A GoSeqRef may represent either
|
||||
// an instance of a Go object, or an Objective-C object passed to Go.
|
||||
// The explicit allocation of a GoSeqRef is used to pin a Go object
|
||||
// when it is passed to Objective-C. The Go seq package maintains a
|
||||
// reference to the Go object in a map keyed by the refnum along with
|
||||
// a reference count. When the reference count reaches zero, the Go
|
||||
// seq package will clear the corresponding entry in the map.
|
||||
@interface GoSeqRef : NSObject { |
||||
} |
||||
@property(readonly) int32_t refnum; |
||||
@property(strong) id obj; // NULL when representing a Go object.
|
||||
|
||||
// new GoSeqRef object to proxy a Go object. The refnum must be
|
||||
// provided from Go side.
|
||||
- (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; |
||||
|
||||
- (int32_t)incNum; |
||||
|
||||
@end |
||||
|
||||
@protocol goSeqRefInterface |
||||
-(GoSeqRef*) _ref; |
||||
@end |
||||
|
||||
#endif |
@ -0,0 +1,18 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
||||
<plist version="1.0"> |
||||
<dict> |
||||
<key>CFBundleExecutable</key> |
||||
<string>OpenIMCore</string> |
||||
<key>CFBundleIdentifier</key> |
||||
<string>OpenIMCore</string> |
||||
<key>MinimumOSVersion</key> |
||||
<string>100.0</string> |
||||
<key>CFBundleShortVersionString</key> |
||||
<string>0.0.1731647705</string> |
||||
<key>CFBundleVersion</key> |
||||
<string>0.0.1731647705</string> |
||||
<key>CFBundlePackageType</key> |
||||
<string>FMWK</string> |
||||
</dict> |
||||
</plist> |
@ -0,0 +1,9 @@ |
||||
framework module "OpenIMCore" { |
||||
header "ref.h" |
||||
header "Open_im_sdk.objc.h" |
||||
header "Open_im_sdk_callback.objc.h" |
||||
header "Universe.objc.h" |
||||
header "OpenIMCore.h" |
||||
|
||||
export * |
||||
} |
Loading…
Reference in new issue