UploadSessionStartArg
public class UploadSessionStartArg : CustomStringConvertible, JSONRepresentable
The UploadSessionStartArg struct
-
If true, the current session will be closed, at which point you won’t be able to call uploadSessionAppendV2 anymore with the current session.
Declaration
Swift
public let close: Bool
-
Type of upload session you want to start. If not specified, default is sequential in UploadSessionType.
Declaration
Swift
public let sessionType: Files.UploadSessionType?
-
A hash of the file content uploaded in this call. If provided and the uploaded content does not match this hash, an error will be returned. For more information see our Content hash https://www.dropbox.com/developers/reference/content-hash page.
Declaration
Swift
public let contentHash: String?
-
Declaration
Swift
public var description: String { get }