本次发布的版本号为 5.5版,更新时间为:2018年08月07日。 iOS 更新内容新增
@interface NIMSDK : NSObject
@property (nonatomic,strong) NSMutableDictionary *sceneDict;
@end
@protocol NIMResourceManager <NSObject>
- (void)upload:(NSString *)filepath
scene:(NSString *)scene
progress:(nullable NIMHttpProgressBlock)progress
completion:(nullable NIMUploadCompleteBlock)completion;
@end
@interface NIMImageObject : NSObject
- (instancetype)initWithImage:(UIImage*)image scene:(NSString *)scene;
- (instancetype)initWithFilepath:(NSString *)filepath scene:(NSString *)scene;
- (instancetype)initWithData:(NSData *)data
extension:(NSString *)extension
scene:(NSString *)scene;
@end
@interface NIMVideoObject : NSObject
- (instancetype)initWithSourcePath:(NSString *)sourcePath scene:(NSString *)scene;
- (instancetype)initWithData:(NSData *)data
extension:(NSString *)extension
scene:(NSString *)scene;
@end
@interface NIMAudioObject : NSObject
- (instancetype)initWithSourcePath:(NSString *)sourcePath scene:(NSString *)scene;
- (instancetype)initWithData:(NSData *)data
extension:(NSString *)extension
scene:(NSString *)scene;
@end
@interface NIMFileObject : NSObject
- (instancetype)initWithSourcePath:(NSString *)sourcePath scene:(NSString *)scene;
- (instancetype)initWithData:(NSData*)data extension:(NSString*)extension scene:(NSString *)scene;
@end
@interface NIMAudioObject : NSObject
@property (nullable,nonatomic, copy, readonly) NSString *md5;
@end
@interface NIMImageObject : NSObject
@property (nullable,nonatomic, copy, readonly) NSString *md5;
Android 更新内容新增1. NOS场景配置 2. 发送消息时可以指定 NOS 场景 3. 上传文件时可以指定 NOS 场景 Windows(PC) SDK 更新内容新增文件上传增加“场景”信息 使用5.5版本及其以上SDK(PC端、移动端、web端)实现的客户端(简称:5.5+ SDK),向使用PC5.4及其以下版本SDK实现的客户端(简称:PC 5.4- SDK),发送图片消息且客户端开启下载缩略图功能时(即:5.5+ SDK 向 PC 5.4- SDK(preloadattach=true),发送图片消息),接收到的缩略图片可能是原图。建议升级SDK到5.5及其以上版本或者在UI层对缩略图做缩放处理。 本地数据文件(*.db)备份功能
修复- Windows x64 下http库可能引起的崩溃
Web SDK 更新内容新增- IM,chatroom初始化增加文件存储配置
- IM,chatroom发送文件消息增加文件存储配置
下载地址 |