FIRInAppMessagingImageOnlyDisplay
@interface FIRInAppMessagingImageOnlyDisplay : FIRInAppMessagingDisplayMessage
Class for defining a image-only message for display. This class is unavailable on macOS, macOS Catalyst, and watchOS.
-
Gets the image for this message
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) FIRInAppMessagingImageData *imageData;
-
Gets the action URL for an image-only fiam message.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSURL *actionURL;
-
Unavailable.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Exposed for unit testing only, or for use in SwiftUI previews. Don’t instantiate this in your app directly.
Declaration
Objective-C
- (nonnull instancetype) initWithCampaignName:(nonnull NSString *)campaignName imageData:(nonnull FIRInAppMessagingImageData *)imageData actionURL:(nullable NSURL *)actionURL appData:(nullable NSDictionary *)appData;