AliyunThumbnailParser
@interface AliyunThumbnailParser : NSObject
* The parser of thumbnail
-
* Initializer. API_AVAILABLE(3.20.0)
Declaration
Objective-C
- (instancetype)initWithPath:(NSString *)path delegate:(id<AliyunThumbnailParserDelegate>)delegate;
Parameters
path
The video path.
delegate
The AliyunThumbnailParserDelegate.
Return Value
A parser object.
-
* Set the timelist of the imageList to get. API_AVAILABLE(3.20.0)
Declaration
Objective-C
- (void)addThumbnailTimeList:(NSArray<NSNumber *> *)timeList;
Parameters
timeList
contains time of vide, unit: seconds
-
* set the cutFrame, one instanse only sets once. API_AVAILABLE(3.20.0)
Declaration
Objective-C
- (void)setCutFrame:(CGRect)cutFrame;
Parameters
cutFrame
The frame of cut action.
-
* set the size of output image, one instanse only sets once. API_AVAILABLE(3.20.0)
Declaration
Objective-C
- (void)setOutputSize:(CGSize)outputSize;
Parameters
outputSize
The size of output image.
-
* start. API_AVAILABLE(3.20.0)
Declaration
Objective-C
- (void)start;
-
* cancel. API_AVAILABLE(3.20.0)
Declaration
Objective-C
- (void)cancel;