UploadOptions

@objc(FSUploadOptions)
public class UploadOptions : NSObject

Represents a set of options for uploading items to a given storage location.

Public Static Properties

  • Default part upload concurrency

    Declaration

    Swift

    @objc
    public static var defaultPartUploadConcurrency: Int
  • Default chunk upload concurrency per part

    Declaration

    Swift

    @objc
    public static var defaultChunkUploadConcurrency: Int
  • A default set of upload options.

    Declaration

    Swift

    @objc
    public static var defaults: UploadOptions

Public Properties

  • Attempts to use Intelligent Ingestion when enabled.

    Declaration

    Swift

    @objc
    public var preferIntelligentIngestion: Bool
  • Whether the upload should start immediately.

    Declaration

    Swift

    @objc
    public var startImmediately: Bool
  • Whether uploaded files located in the user’s temporary directory should be deleted after being uploaded.

    Declaration

    Swift

    @objc
    public var deleteTemporaryFilesAfterUpload: Bool
  • An object containing the store options (e.g. location, region, container, access, etc.)

    Declaration

    Swift

    @objc
    public var storeOptions: StorageOptions
  • A dictionary containing any custom data (tags) that should be associated to this upload. For more information, please check Upload tags.

    Declaration

    Swift

    @objc
    public var uploadTags: [String : String]
  • How many parts should be uploaded concurrently

    Declaration

    Swift

    @objc
    public var partUploadConcurrency: Int
  • How many chunks should be uploaded concurrently per part

    Declaration

    Swift

    @objc
    public var chunkUploadConcurrency: Int

Lifecycle