optOutInAppNotification

open fun optOutInAppNotification(context: Context, shouldOptOutInApp: Boolean)

Optionally opt-out of in-app campaigns. No in-app campaigns will be shown once this is opted out.

Parameters

context

Application context.

shouldOptOutInApp

true if you don't want users to receive in-app notification, else false.