Media

open class Media
  • Declaration

    Swift

    open private(set) var instanceId: String { get }
  • id

    Declaration

    Swift

    open private(set) var id: Int! { get }
  • Declaration

    Swift

    open private(set) var filename: String! { get }
  • Declaration

    Swift

    open private(set) var title: String! { get }
  • Declaration

    Swift

    open private(set) var type: MediaType! { get }
  • Declaration

    Swift

    open private(set) var hash: String! { get }
  • Declaration

    Swift

    open private(set) var description: String? { get }
  • Declaration

    Swift

    open private(set) var metadata: [String : Any?]? { get }
  • url

    Declaration

    Swift

    open private(set) var url: String! { get }
  • Declaration

    Swift

    open private(set) var createdAt: Date! { get }
  • Declaration

    Swift

    open private(set) var thumbnail: UIImage? { get }
  • Declaration

    Swift

    open func thumbnailUrl() -> URL?
  • Declaration

    Swift

    open func imageUrl() -> URL?
  • Declaration

    Swift

    open func getThumbnail(completion: @escaping (UIImage?, Error?) -> Void)