FirebaseInAppMessagingDisplay

public class FirebaseInAppMessagingDisplay implements 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 methods

void
displayMessage(
    InAppMessage inAppMessage,
    FirebaseInAppMessagingDisplayCallbacks callbacks
)
static @NonNull FirebaseInAppMessagingDisplay

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

Inherited methods

From android.app.Application.ActivityLifecycleCallbacks
abstract void
abstract void
abstract void
void
onActivityPostCreated(Activity activity, Bundle savedInstanceState)
void
void
void
void
void
void
void
onActivityPreCreated(Activity activity, Bundle savedInstanceState)
void
void
void
void
void
void
abstract void
abstract void
abstract void
abstract void
From com.google.firebase.inappmessaging.FirebaseInAppMessagingDisplay

Public methods

displayMessage

public void displayMessage(
    InAppMessage inAppMessage,
    FirebaseInAppMessagingDisplayCallbacks callbacks
)

getInstance

public static @NonNull FirebaseInAppMessagingDisplay getInstance()

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