optOutPushNotification

open fun optOutPushNotification(context: Context, shouldOptOutPushNotification: Boolean)

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

Parameters

context

Application context.

shouldOptOutPushNotification

true if you don't want users to receive push notification, else false.