Thumbnail

public class Thumbnail

A data type represents a local file thumbnail.

Since

1.4.0
  • The local path of the file’s thumbnail.

    Declaration

    Swift

    public let path: String
  • The width of the file’s thumbnail.

    Declaration

    Swift

    public let width: Int
  • The height of the file’s thumbnail.

    Declaration

    Swift

    public let height: Int
  • The size of the file’s thumbnail.

    Declaration

    Swift

    public let size: UInt64
  • The path type of the file’s thumbnail.

    Declaration

    Swift

    public let mime: String
  • LocalFile thumbnail constructor.

    Since

    1.4.0

    Declaration

    Swift

    public init?(path: String, mime: String? = nil, width: Int, height: Int)