setEmailNotificationSubscriptionType
fun setEmailNotificationSubscriptionType(emailNotificationSubscriptionType: NotificationSubscriptionType): Boolean
Sets whether or not the user should be sent email campaigns. Setting it to unsubscribed opts the user out of an email campaign that you create through the Braze dashboard.
Parameters
emailNotificationSubscriptionType
com.braze.enums.NotificationSubscriptionType enum representing the user's email notifications subscription type.