Thumbnail

public struct Thumbnail

A data type represents a thumbnail file.

Since

1.4.0
  • The width of thumbanil file.

    Declaration

    Swift

    public internal(set) var width: Int?
  • The height of thumbanil file.

    Declaration

    Swift

    public internal(set) var height: Int?
  • The mimetype of thumbanil file.

    Declaration

    Swift

    public internal(set) var mimeType: String?
  • File thumbnail constructor.

    Note

    for internal use only.

    Declaration

    Swift

    public init?(map: Map)
  • File thumbnail mapping from JSON.

    Note

    for internal use only.

    Declaration

    Swift

    public mutating func mapping(map: Map)