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
pathThe video path.
delegateThe 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
timeListcontains 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
cutFrameThe 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
outputSizeThe 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;
AliyunThumbnailParser Class Reference