Skip to main content

attachment-file-properties

type

An attachment file type (see AttachmentFileType).

public let type: AttachmentFileType

size

A size of the file.

public let size: Int64

mimeType

A mime type.

public let mimeType: String?

sizeFormatter

A file size formatter.

public static let sizeFormatter 

sizeString

A formatted file size.

public var sizeString: String 

Methods

encode(to:)

public func encode(to encoder: Encoder) throws

Did you find this page helpful?