FirebaseInAppMessaging Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
FIRInAppMessagingImageOnlyDisplay
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
-
Gets the action URL for an image-only fiam message.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSURL *actionURL;
-
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-04 UTC.
[null,null,["Last updated 2025-08-04 UTC."],[],[],null,["FIRInAppMessagingImageOnlyDisplay \n\n\n @interface FIRInAppMessagingImageOnlyDisplay : ../Classes/FIRInAppMessagingDisplayMessage.html\n\nClass for defining a image-only message for display.\nThis class is unavailable on macOS, macOS Catalyst, and watchOS.\n- `\n ``\n ``\n `\n\n [imageData](#/c:objc(cs)FIRInAppMessagingImageOnlyDisplay(py)imageData)`\n ` \n Gets the image for this message \n\n Declaration \n Objective-C \n\n @property (nonatomic, copy, readonly, nonnull) ../Classes/FIRInAppMessagingImageData.html *imageData;\n\n- `\n ``\n ``\n `\n\n [actionURL](#/c:objc(cs)FIRInAppMessagingImageOnlyDisplay(py)actionURL)`\n ` \n Gets the action URL for an image-only fiam message. \n\n Declaration \n Objective-C \n\n @property (nonatomic, readonly, nullable) NSURL *actionURL;\n\n- `\n ``\n ``\n `\n\n [-init](#/c:objc(cs)FIRInAppMessagingImageOnlyDisplay(im)init)`\n ` \n Unavailable. \n\n Declaration \n Objective-C \n\n - (nonnull instancetype)init;\n\n- `\n ``\n ``\n `\n\n [-initWithCampaignName:imageData:actionURL:appData:](#/c:objc(cs)FIRInAppMessagingImageOnlyDisplay(im)initWithCampaignName:imageData:actionURL:appData:)`\n ` \n Exposed for unit testing only, or for use in SwiftUI previews. Don't instantiate this in your\n app directly. \n\n Declaration \n Objective-C \n\n - (nonnull instancetype)\n initWithCampaignName:(nonnull NSString *)campaignName\n imageData:(nonnull ../Classes/FIRInAppMessagingImageData.html *)imageData\n actionURL:(nullable NSURL *)actionURL\n appData:(nullable NSDictionary *)appData;"]]