Thumbnail
public class Thumbnail
A data type represents the thumbnail of this local file. The thumbnail typically is an image file to provide preview of the local file without opening.
Since
1.4.0-
The local path of the thumbnail file to be uploaded.
Declaration
Swift
public let path: String -
The width of the thumbnail.
Declaration
Swift
public let width: Int -
The height of the thumbnail.
Declaration
Swift
public let height: Int -
The size in bytes of the thumbnail.
Declaration
Swift
public let size: UInt64 -
The MIME type of thumbnail.
Declaration
Swift
public let mime: String -
LocalFile thumbnail constructor.
Since
1.4.0Declaration
Swift
public init?(path: String, mime: String? = nil, width: Int, height: Int)Parameters
paththe local path of the thumbnail file.
minethe MIME type of the thumbnail.
widththe width of the thumbnail.
heightthe height of the thumbnail.
View on GitHub