FirebaseInAppMessagingSwift Framework Reference

View

public extension View
  • Overrides the default display of an image only in-app message as defined on the Firebase console.

    Declaration

    Swift

    func imageOnlyInAppMessage<Content: View>(closure: @escaping (InAppMessagingImageOnlyDisplay,
                                                                  InAppMessagingDisplayDelegate)
        -> Content)
      -> some View
  • Overrides the default display of a banner in-app message as defined on the Firebase console.

    Declaration

    Swift

    func bannerInAppMessage<Content: View>(closure: @escaping (InAppMessagingBannerDisplay,
                                                               InAppMessagingDisplayDelegate)
        -> Content)
      -> some View
  • Overrides the default display of a modal in-app message as defined on the Firebase console.

    Declaration

    Swift

    func modalInAppMessage<Content: View>(closure: @escaping (InAppMessagingModalDisplay,
                                                              InAppMessagingDisplayDelegate)
        -> Content)
      -> some View
  • Overrides the default display of a card in-app message as defined on the Firebase console.

    Declaration

    Swift

    func cardInAppMessage<Content: View>(closure: @escaping (InAppMessagingCardDisplay,
                                                             InAppMessagingDisplayDelegate)
        -> Content)
      -> some View