// // SDLUploadFileOperation.h // SmartDeviceLink-iOS // // Created by Joel Fischer on 5/11/16. // Copyright © 2016 smartdevicelink. All rights reserved. // #import #import "SDLAsynchronousOperation.h" #import "SDLFileManagerConstants.h" @protocol SDLConnectionManagerType; @class SDLFileWrapper; NS_ASSUME_NONNULL_BEGIN @interface SDLUploadFileOperation : SDLAsynchronousOperation /** * Create an instance of an upload files operation which will send a file to a remote system when added to an operation queue. * * @param file A file wrapper around the file which will be sent and a completion handler for when the file finishes sending. * @param connectionManager The connection manager which will handle transporting the file bytes to the remote system * * @return An instance of SDLUploadFilesOperation */ - (instancetype)initWithFile:(SDLFileWrapper *)file connectionManager:(id)connectionManager; @end NS_ASSUME_NONNULL_END