blob: 8e0970725e90b15f44277b94a80412b2b807d323 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <Foundation/Foundation.h>
#import <PhotosUI/PhotosUI.h>
#import "FLTImagePickerImageUtil.h"
#import "FLTImagePickerMetaDataUtil.h"
#import "FLTImagePickerPhotoAssetUtil.h"
/*!
@class FLTPHPickerSaveImageToPathOperation
@brief The FLTPHPickerSaveImageToPathOperation class
@discussion This class was implemented to handle saved image paths and populate the pathList
with the final result by using GetSavedPath type block.
@superclass SuperClass: NSOperation\n
@helps It helps FLTImagePickerPlugin class.
*/
@interface FLTPHPickerSaveImageToPathOperation : NSOperation
- (instancetype)initWithResult:(PHPickerResult *)result
maxHeight:(NSNumber *)maxHeight
maxWidth:(NSNumber *)maxWidth
desiredImageQuality:(NSNumber *)desiredImageQuality
fullMetadata:(BOOL)fullMetadata
savedPathBlock:(void (^)(NSString *))savedPathBlock API_AVAILABLE(ios(14));
@end