FirebaseInAppMessagingDisplay

class FirebaseInAppMessagingDisplay : FirebaseInAppMessagingDisplay, Application.ActivityLifecycleCallbacks


The entry point of the Firebase In App Messaging display SDK.

Firebase In-App Messaging Display will automatically initialize, start listening for events, and display eligible in-app messages.

This feature uses a Firebase Installation ID token to:

  • identify the app instance
  • fetch messages from the Firebase backend
  • send usage metrics to the Firebase backend.

Summary

Public functions

Unit
displayMessage(
    inAppMessage: InAppMessage!,
    callbacks: FirebaseInAppMessagingDisplayCallbacks!
)
java-static FirebaseInAppMessagingDisplay

Get FirebaseInAppMessagingDisplay instance using the default firebase app, returned by getInstance

Public functions

displayMessage

fun displayMessage(
    inAppMessage: InAppMessage!,
    callbacks: FirebaseInAppMessagingDisplayCallbacks!
): Unit

getInstance

java-static fun getInstance(): FirebaseInAppMessagingDisplay

Get FirebaseInAppMessagingDisplay instance using the default firebase app, returned by getInstance