SwiftagramCrypto Documentation

Enumeration Media.​Content

public enum Content: Wrapped, Codable  

An enum holding reference to the actual Media content.

%335 Media.Content Media.Content Wrapped Wrapped Media.Content->Wrapped Codable Codable Media.Content->Codable

Member Of

Media

A struct representing a Media.

Conforms To

Codable
Wrapped

Initializers

init(wrapper:​)

public init(wrapper: @escaping () -> Wrapper)  

Init.

Parameters

wrapper @escaping () -> Wrapper

A valid Wrapper.

Enumeration Cases

picture

case picture(Picture) 

A picture.

video

case video(Video) 

A video.

album

case album([Content]) 

An album.

error

case error(Wrapper) 

An error.

Properties

tagged

public var tagged: [UserTag]?  

The user tags.

wrapper

public var wrapper: () -> Wrapper  

The underlying Response.