콘솔로 이동

FirebaseInAppMessagingDisplay

public class FirebaseInAppMessagingDisplay extends Object
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 Instance ID token to:

  • identify the app instance
  • fetch messages from the Firebase backend
  • send usage metrics to the Firebase backend.
To delete the Instance ID and the data associated with it, see deleteInstanceId().

Public Method Summary

void
displayMessage(InAppMessage inAppMessage, FirebaseInAppMessagingDisplayCallbacks callbacks)
static FirebaseInAppMessagingDisplay
getInstance()
Get FirebaseInAppMessagingDisplay instance using the default firebase app, returned by getInstance()

Inherited Method Summary

Public Methods

public void displayMessage (InAppMessage inAppMessage, FirebaseInAppMessagingDisplayCallbacks callbacks)

public static FirebaseInAppMessagingDisplay getInstance ()

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