InAppMessageMediaInfo
public struct InAppMessageMediaInfo : Sendable, Codable, Equatable
Media info
-
Media type
See moreDeclaration
Swift
public enum MediaType : String, Sendable, Codable
-
The media’s URL
Declaration
Swift
public var url: String
-
The media’s type
Declaration
Swift
public var type: MediaType
-
Content description
Declaration
Swift
public var description: String?
-
In-app message media model
Declaration
Swift
public init( url: String, type: MediaType, description: String? = nil )
Parameters
url
URL from which to fetch the media
type
Media type
description
Content description for accessibility purposes