Filestack Documentation

Protocol Uploadable

public protocol Uploadable  

The protocol any uploadables must conform to.

Requirements

filename

var filename: String?  

The filename of this uploadable, or nil if unavailable.

size

var size: UInt64?  

The size of this uploadable in bytes, or nil if unavailable.

mime​Type

var mimeType: String?  

The MIME type of this uploadable, or nil if unavailable.