Classes
The following classes are available globally.
-
The root object for in-app messaging iOS SDK.
Note: Firebase In-App Messaging depends on using a Firebase Installation ID and token pair to be able to retrieve messages defined for the current app instance. By default, the Firebase In-App Messaging SDK will obtain the ID and token pair on app/SDK startup. In its default configuration the in-app messaging SDK will send some device and client data (linked to the installation ID) to the Firebase backend periodically.
The app can tune the default data collection behavior via certain controls. They are listed in descending order below. If a higher-priority setting exists, lower level settings are ignored.
- Dynamically turning on or off data collection behavior by setting the
automaticDataCollectionEnabled
property on theInAppMessaging
instance to true or false. - Setting
FirebaseInAppMessagingAutomaticDataCollectionEnabled
to false in the app’s plist file. - Disabling data collection via the global Firebase data collection setting.
This class is unavailable on macOS, macOS Catalyst, and watchOS.
Declaration
Swift
class InAppMessaging : NSObject
- Dynamically turning on or off data collection behavior by setting the
-
Contains the display information for an action button. This class is unavailable on macOS,
- macOS Catalyst, and watchOS.
Declaration
Swift
class InAppMessagingActionButton : NSObject
-
Contain display data for an image for a fiam message.
- This class is unavailable on macOS, macOS Catalyst, and watchOS.
Declaration
Swift
class InAppMessagingImageData : NSObject
-
Defines the metadata for the campaign to which a FIAM message belongs.
- This class is unavailable on macOS, macOS Catalyst, and watchOS.
Declaration
Swift
class InAppMessagingCampaignInfo : NSObject
-
Defines the metadata for a FIAM action.
- This class is unavailable on macOS, macOS Catalyst, and watchOS.
Declaration
Swift
class InAppMessagingAction : NSObject
-
Base class representing a FIAM message to be displayed. Don’t create instance of this class directly. Instantiate one of its subclasses instead. This class is unavailable on macOS, macOS Catalyst, and watchOS.
Declaration
Swift
class InAppMessagingDisplayMessage : NSObject
-
A displayable in-app card message. This class is unavailable on macOS, macOS Catalyst, and watchOS.
Declaration
Swift
class InAppMessagingCardDisplay : InAppMessagingDisplayMessage
-
Class for defining a modal message for display. This class is unavailable on macOS, macOS Catalyst, and watchOS.
Declaration
Swift
class InAppMessagingModalDisplay : InAppMessagingDisplayMessage
-
Class for defining a banner message for display. This class is unavailable on macOS, macOS Catalyst, and watchOS.
Declaration
Swift
class InAppMessagingBannerDisplay : InAppMessagingDisplayMessage
-
Class for defining a image-only message for display. This class is unavailable on macOS, macOS Catalyst, and watchOS.
Declaration
Swift
class InAppMessagingImageOnlyDisplay : InAppMessagingDisplayMessage