FileMetadata
struct FileMetadata : Decodable
Metadata describing underlying media file.
-
Original filename of the file.
Declaration
Swift
public let fileName: String
-
Content type of the file.
Declaration
Swift
public let contentType: String
-
Details of the file, depending on it’s MIME type.
Declaration
Swift
public let details: Details?
-
The remote URL for the binary data for this Asset. If the media file is still being processed, as the final stage of uploading to your space, this property will be nil.
Declaration
Swift
public let url: URL?
-
The size and dimensions of the underlying media file if it is an image.
See moreDeclaration
Swift
public struct Details : Decodable
-
Declaration
Swift
public init(from decoder: Decoder) throws