InAppMessagingImageData
class InAppMessagingImageData : NSObjectContain display data for an image for a fiam message.
- This class is unavailable on macOS, macOS Catalyst, and watchOS.
-
Gets the image URL from image data.
Declaration
Swift
var imageURL: String { get } -
Gets the downloaded image data. It can be null if headless component fails to load it.
Declaration
Swift
var imageRawData: Data? { get } -
Unavailable
Unavailable.
-
Exposed for unit testing only, or for use in SwiftUI previews. Don’t instantiate this in your app directly.
Declaration
Swift
init(imageURL: String, imageData: Data)