IMPORTANT: In July 2025, we stopped releasing new versions of KTX modules, and we removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the previously released KTX modules, we recommend that you
migrate your app to use KTX APIs from the main modules instead. For details, see the
FAQ about this initiative.
Stay organized with collections
Save and categorize content based on your preferences.
com.google.firebase.inappmessaging.model
Classes
Action |
Encapsulates an Action for a Firebase In App Message.
|
BannerMessage |
Encapsulates a Firebase In App Banner Message.
|
Button |
Encapsulates any button used in a Firebase In App Message.
|
CampaignMetadata |
Provides the following about any message:
|
CardMessage |
Encapsulates a Firebase In App Card Message.
|
ImageData |
Encapsulates an image to be displayed within a Firebase In App Message.
|
ImageOnlyMessage |
Encapsulates a Firebase In App ImageOnly Message.
|
InAppMessage |
Encapsulates a Firebase In App Message.
|
ModalMessage |
Encapsulates a Firebase In App Modal Message.
|
Text |
Encapsulates any text used in a Firebase In App Message.
|
Enums
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-07-21 UTC.
[null,null,["Last updated 2025-07-21 UTC."],[],[],null,["# com.google.firebase.inappmessaging.model\n========================================\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| [Action](/docs/reference/android/com/google/firebase/inappmessaging/model/Action) | Encapsulates an Action for a Firebase In App Message. |\n| [BannerMessage](/docs/reference/android/com/google/firebase/inappmessaging/model/BannerMessage) | Encapsulates a Firebase In App Banner Message. |\n| [Button](/docs/reference/android/com/google/firebase/inappmessaging/model/Button) | Encapsulates any button used in a Firebase In App Message. |\n| [CampaignMetadata](/docs/reference/android/com/google/firebase/inappmessaging/model/CampaignMetadata) | Provides the following about any message: |\n| [CardMessage](/docs/reference/android/com/google/firebase/inappmessaging/model/CardMessage) | Encapsulates a Firebase In App Card Message. |\n| [ImageData](/docs/reference/android/com/google/firebase/inappmessaging/model/ImageData) | Encapsulates an image to be displayed within a Firebase In App Message. |\n| [ImageOnlyMessage](/docs/reference/android/com/google/firebase/inappmessaging/model/ImageOnlyMessage) | Encapsulates a Firebase In App ImageOnly Message. |\n| [InAppMessage](/docs/reference/android/com/google/firebase/inappmessaging/model/InAppMessage) | Encapsulates a Firebase In App Message. |\n| [ModalMessage](/docs/reference/android/com/google/firebase/inappmessaging/model/ModalMessage) | Encapsulates a Firebase In App Modal Message. |\n| [Text](/docs/reference/android/com/google/firebase/inappmessaging/model/Text) | Encapsulates any text used in a Firebase In App Message. |\n\nEnums\n-----\n\n|---------------------------------------------------------------------------------------------|------------------------------------|\n| [MessageType](/docs/reference/android/com/google/firebase/inappmessaging/model/MessageType) | Template type of an in-app message |"]]