Thumbnail

public struct Thumbnail

A data type represents a thumbnail for this remote file. The thumbnail typically is an image file which provides preview of the remote file without downloading. The content of the thumbnail can be downloaded via MessageClient.downloadThumbnail(...).

Since

1.4.0
  • The width of the thumbnail.

    Declaration

    Swift

    public var width: Int?
  • The height of the thumbnail.

    Declaration

    Swift

    public var height: Int?
  • The MIME type of the thumbnail file.

    Declaration

    Swift

    public var mimeType: String?
  • url

    The url of the thumbnail.

    Declaration

    Swift

    public var url: String?
  • Thumbnail constructor.

    Since

    3.2.0

    Declaration

    Swift

    public init(height: Int?, width: Int?, mimeType: String?, url: String?)

    Parameters

    height

    The height of the thumbnail.

    width

    The width of the thumbnail.

    mimeType

    The MIME type of the thumbnail.

    url

    The url for the thumbnail.