Go to console

FirebaseInAppMessaging Framework Reference

Classes

The following classes are available globally.

  • The root object for in-app messaging iOS SDK.

    Note: Firebase InApp Messaging depends on using a Firebase Instance ID & token pair to be able to retrieve FIAM messages defined for the current app instance. By default, Firebase in-app messaging SDK would obtain the ID & token pair on app/SDK startup. As a result of using ID & token pair, some device client data (linked to the instance ID) would be collected and sent over to 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.

    1. Dynamically turn on/off data collection behavior by setting the automaticDataCollectionEnabled property on the FIRInAppMessaging instance to true/false Swift or YES/NO (objective-c).
    2. Set FirebaseInAppMessagingAutomaticDataCollectionEnabled to false in the app’s plist file.
    3. Global Firebase data collection setting.

    Declaration

    Swift

    class InAppMessaging : NSObject
  • Contains the display information for an action button.

    Declaration

    Swift

    class InAppMessagingActionButton : NSObject
  • Contain display data for an image for a fiam message.

    Declaration

    Swift

    class InAppMessagingImageData : NSObject
  • Defines the metadata for the campaign to which a FIAM message belongs.

    Declaration

    Swift

    class InAppMessagingCampaignInfo : NSObject
  • Defines the metadata for a FIAM action.

    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.

    Declaration

    Swift

    class InAppMessagingDisplayMessage : NSObject
  • Undocumented

    Declaration

    Swift

    class InAppMessagingCardDisplay : InAppMessagingDisplayMessage
  • Class for defining a modal message for display.

    Declaration

    Swift

    class InAppMessagingModalDisplay : InAppMessagingDisplayMessage
  • Class for defining a banner message for display.

    Declaration

    Swift

    class InAppMessagingBannerDisplay : InAppMessagingDisplayMessage
  • Class for defining a image-only message for display.

    Declaration

    Swift

    class InAppMessagingImageOnlyDisplay : InAppMessagingDisplayMessage