LocalFile
public class LocalFile
A data type represents a local file.
Since
1.4.0-
Declaration
Swift
public class Thumbnail
-
The local path of the file.
Declaration
Swift
public let path: String
-
The name of the file.
Declaration
Swift
public let name: String
-
The mime type of the file.
Declaration
Swift
public let mime: String
-
The size of the file.
Declaration
Swift
public let size: UInt64
-
The progressHandler when uploading the file.
Declaration
Swift
public let progressHandler: ((Double) -> Void)?
-
The thumbnail of the file.
Declaration
Swift
public let thumbnail: Thumbnail?
-
LocalFile constructor.
Since
1.4.0Declaration
Swift
public init?(path: String, name: String? = nil, mime: String? = nil, thumbnail: Thumbnail? = nil, progressHandler: ((Double) -> Void)? = nil)