mirror of
https://github.com/WuKongIM/WuKongIMiOSSDK-Framework
synced 2025-06-06 09:08:34 +00:00
feat: upgrade
This commit is contained in:
parent
87c8e1850b
commit
0d28c780db
@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'WuKongIMSDK'
|
||||
s.version = '1.0.4'
|
||||
s.version = '1.0.5'
|
||||
s.summary = '悟空IM是一款简单,高效,支持完全私有化的即时通讯.'
|
||||
s.license = {"type"=>"MIT", "file"=>"ios/LICENSE"}
|
||||
s.authors = {"tangtaoit"=>"tt@tgo.ai"}
|
||||
|
BIN
ios/WuKongIMSDK.framework/.DS_Store
vendored
BIN
ios/WuKongIMSDK.framework/.DS_Store
vendored
Binary file not shown.
@ -91,6 +91,7 @@ typedef enum : NSUInteger {
|
||||
*/
|
||||
-(void) sendPacket:(WKPacket*)packet;
|
||||
|
||||
-(void) writeData:(NSData*) data;
|
||||
|
||||
/**
|
||||
发送ping包
|
||||
|
@ -220,6 +220,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
-(void) deleteMessagesWithClientSeqs:(NSArray<NSNumber*>*)ids;
|
||||
|
||||
-(void) deleteMessagesWithMessageIDs:(NSArray<NSNumber*>*)messageIDs;
|
||||
|
||||
-(void) deleteMessagesWithMessageIDs:(NSArray<NSNumber*>*)messageIDs db:(FMDatabase*)db;
|
||||
|
||||
/**
|
||||
彻底将消息从数据库删除 (deleteMessage只是标记为删除)
|
||||
|
@ -33,6 +33,7 @@ typedef enum : NSUInteger {
|
||||
@property(nonatomic,assign) NSInteger editedAt; // 消息编辑时间 (0表示消息未被编辑)
|
||||
@property(nonatomic,assign) BOOL isEdit; // 是否编辑
|
||||
@property(nonatomic,assign) WKContentEditUploadStatus uploadStatus; // 上传状态
|
||||
@property(nonatomic,assign) BOOL isMutualDeleted; // 是否双向删除
|
||||
|
||||
@property(nonatomic,copy) NSDictionary *extra; // 扩展数据
|
||||
|
||||
|
25
ios/WuKongIMSDK.framework/Headers/WKMessageQueueManager.h
Normal file
25
ios/WuKongIMSDK.framework/Headers/WKMessageQueueManager.h
Normal file
@ -0,0 +1,25 @@
|
||||
//
|
||||
// WKMessageQueueManager.h
|
||||
// WuKongIMSDK
|
||||
//
|
||||
// Created by tt on 2023/11/15.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "WKMessage.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface WKMessageQueueManager : NSObject
|
||||
|
||||
+ (WKMessageQueueManager *)shared;
|
||||
|
||||
-(void) start;
|
||||
|
||||
-(void) stop;
|
||||
|
||||
- (void)sendMessage:(WKMessage *)message;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@ -138,6 +138,9 @@ typedef WKConnectInfo*_Nonnull(^WKConnectInfoCallback)(void);
|
||||
@property(nonatomic,assign) NSInteger expireMsgCheckInterval; // 过期消息检查间隔 单位秒
|
||||
@property(nonatomic,assign) NSInteger expireMsgLimit; // 过期消息每次查询数量
|
||||
|
||||
@property(nonatomic,assign) NSInteger sendFrequency; // 消息发送延迟时间 单位毫秒
|
||||
@property(nonatomic,assign) NSInteger sendMaxCountOfEach; // 消息每次发送最大数量
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
@ -55,6 +55,7 @@
|
||||
#import "WKConversationManagerInner.h"
|
||||
#import "WKFlameManager.h"
|
||||
#import "WKMediaManager.h"
|
||||
#import "WKMessageQueueManager.h"
|
||||
#import "WKMOSContentConvertManager.h"
|
||||
#import "WKReactionManager.h"
|
||||
#import "WKReceiptManager.h"
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user