AliyunThumbnailParserDelegate

@protocol AliyunThumbnailParserDelegate <NSObject>

/****
 onError when get pic, call back not in main thread. API_AVAILABLE(3.20.0)
 
 @param code the errorcode.
 */
- (void)thumbnailParser:(AliyunThumbnailParser *)parser onError:(int)code;


/****
 onError when get pic, call back not in main thread. API_AVAILABLE(3.20.0)
 
 @param code the errorcode
 @param time the timestampe of the video to get pic, unit: seconds
 */
- (void)thumbnailParser:(AliyunThumbnailParser *)parser onPicError:(int)code time:(float)time;


/****
 the image get of the time, call back not in main thread. API_AVAILABLE(3.20.0)
 
 @param image the image, noneable, maybe nil
 @param time the timestampe of the video to get pic, unit: seconds
 */
- (void)thumbnailParser:(AliyunThumbnailParser *)parser onGetPicture:(UIImage *)image time:(float)time;

/****
 compelete all image to get in timelist, call back not in main thread. API_AVAILABLE(3.20.0)
 */
- (void)thumbnailParserOnCompleted:(AliyunThumbnailParser *)parser;


@end

Undocumented

  • * onError when get pic, call back not in main thread. API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    - (void)thumbnailParser:(AliyunThumbnailParser *)parser onError:(int)code;

    Parameters

    code

    the errorcode.

  • * onError when get pic, call back not in main thread. API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    - (void)thumbnailParser:(AliyunThumbnailParser *)parser
                 onPicError:(int)code
                       time:(float)time;

    Parameters

    code

    the errorcode

    time

    the timestampe of the video to get pic, unit: seconds

  • * the image get of the time, call back not in main thread. API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    - (void)thumbnailParser:(AliyunThumbnailParser *)parser
               onGetPicture:(UIImage *)image
                       time:(float)time;

    Parameters

    image

    the image, noneable, maybe nil

    time

    the timestampe of the video to get pic, unit: seconds

  • * compelete all image to get in timelist, call back not in main thread. API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    - (void)thumbnailParserOnCompleted:(AliyunThumbnailParser *)parser;