12NS_ASSUME_NONNULL_BEGIN
56- (instancetype)initWithImage:(UIImage*)image;
67- (instancetype)initWithFilepath:(NSString *)filepath;
78- (instancetype)initWithData:(NSData *)data
79 extension:(NSString *)extension;
90- (instancetype)initWithImage:(UIImage*)image scene:(NSString *)scene;
103- (instancetype)initWithFilepath:(NSString *)filepath scene:(NSString *)scene;
117- (instancetype)initWithFilepath:(NSString *)filepath
118 scene:(NSString *)scene
131- (instancetype)initWithData:(NSData *)data
132 extension:(NSString *)extension
133 scene:(NSString *)scene;
146- (instancetype)initWithData:(NSData *)data
147 extension:(NSString *)extension
148 scene:(NSString *)scene
157- (void)setUploadURL:(NSString *)urlString;
162@property (nullable, nonatomic, copy) NSString *displayName;
169@property (nullable, nonatomic, copy, readonly) NSString *path;
174@property (nullable, nonatomic, copy, readonly) NSString *thumbPath;
180@property (nullable, nonatomic, copy, readonly) NSString *url;
186@property (nullable, nonatomic, copy, readonly) NSString *thumbUrl;
191@property (nonatomic, assign, readonly) CGSize size;
202@property (nonatomic, assign, readonly)
long long fileLength;
207@property (nullable,nonatomic, copy, readonly) NSString *md5;
NIMImageFormat
Definition: NIMImageObject.h:17
@ NIMImageFormatJPEG
Definition: NIMImageObject.h:21
@ NIMImageFormatPNG
Definition: NIMImageObject.h:25
Definition: NIMImageObject.h:47
Definition: NIMImageObject.h:32
NIMImageFormat format
Definition: NIMImageObject.h:40
float compressQuality
Definition: NIMImageObject.h:35
Definition: NIMMessageObjectProtocol.h:20