10#define NIMVideoMp4Ext (@"mp4")
11#define NIMVideoThumbExt (@"jpg")
12NS_ASSUME_NONNULL_BEGIN
26- (instancetype)initWithSourcePath:(NSString *)sourcePath;
37- (instancetype)initWithData:(NSData *)data
38 extension:(NSString *)extension;
49- (instancetype)initWithSourcePath:(NSString *)sourcePath scene:(NSString *)scene;
61- (instancetype)initWithData:(NSData *)data
62 extension:(NSString *)extension
63 scene:(NSString *)scene;
71- (void)setUploadURL:(NSString *)urlString;
80@property (nullable, nonatomic, copy, readonly) NSString *
md5;
88@property (nullable, nonatomic, copy, readonly) NSString *
path;
93@property (nullable, nonatomic, copy, readonly) NSString *
url;
99@property (nullable, nonatomic, copy, readonly) NSString *
coverUrl;
104@property (nullable, nonatomic, copy, readonly) NSString *
coverPath;
109@property (nonatomic, assign, readonly) CGSize
coverSize;
Definition: NIMVideoObject.h:17
NSString * path
Definition: NIMVideoObject.h:88
long long fileLength
Definition: NIMVideoObject.h:120
NSInteger duration
Definition: NIMVideoObject.h:115
NSString * displayName
Definition: NIMVideoObject.h:76
CGSize coverSize
Definition: NIMVideoObject.h:109
NSString * coverPath
Definition: NIMVideoObject.h:104
NSString * md5
Definition: NIMVideoObject.h:80
NSString * url
Definition: NIMVideoObject.h:93
NSString * coverUrl
Definition: NIMVideoObject.h:99
Definition: NIMMessageObjectProtocol.h:20