Braze Activity Lifecycle Callback Listener
Constructor that sets a blocklist for session handling and BrazeInAppMessageManager registration while also enabling both features.
Parameters
A set of Activitys for which in-app message registration will not occur. Each class should be retrieved via Activity.getClass.
A set of Activitys for which session handling will not occur. Each class should be retrieved via Activity.getClass.
Parameters
When true, handles calling openSession and closeSession in onActivityStarted and onActivityStopped respectively.
When true, registers and unregisters the BrazeInAppMessageManager in Application.ActivityLifecycleCallbacks.onActivityResumed and Application.ActivityLifecycleCallbacks.onActivityPaused respectively.
A set of Activitys for which in-app message registration will not occur. Each class should be retrieved via Activity.getClass. If null, an empty set is used instead.
A set of Activitys for which session handling will not occur. Each class should be retrieved via Activity.getClass. If null, an empty set is used instead.