UIModelDataMedia
public struct UIModelDataMedia : Decodable
extension UIModelDataMedia: MediaItem
Used for Image & Video cards
-
URL to the image or video
Declaration
Swift
public var url: String?
-
Undocumented
Declaration
Swift
public var width: String?
-
Undocumented
Declaration
Swift
public var height: String?
-
Undocumented
Declaration
Swift
public var iWidth: Int { get }
-
Undocumented
Declaration
Swift
public var iHeight: Int { get }
-
Undocumented
Declaration
Swift
public var type: String?
-
Undocumented
Declaration
Swift
public var mediaType: MediaType? { get }
-
Media Type
See moreDeclaration
Swift
public enum MediaType : String
-
Undocumented
Declaration
Swift
public init(url: String)
-
Undocumented
Declaration
Swift
public init(url: String, width: Int, height: Int)
-
Declaration
Swift
public var sourceUrl: URL? { get }
-
Declaration
Swift
public var placeholder: SwiftUI.Image { get }
-
Declaration
Swift
public var size: CGSize { get }