optOutInAppOnActivity

open fun optOutInAppOnActivity(inAppOptOutClassList: List<Class>): MoEngage.Builder

By default, the MoEngage SDK will try to show in-app messages on all the activities. If you want block in-apps on any specific screen(s) use this API to pass a list of screens on which in-apps should not be shown.

Return

instance of MoEngage.Builder

Deprecated

since 11.0.00, use configureInApps

Parameters

inAppOptOutClassList

list of Class on which in-app should not be shown.