Marketing Cloud SDK / com.salesforce.marketingcloud / MarketingCloudConfig / Builder / setMarkMessageReadOnInboxNotificationOpen

setMarkMessageReadOnInboxNotificationOpen

fun setMarkMessageReadOnInboxNotificationOpen(markRead: Boolean): <ERROR CLASS>

The default behavior of the SDK has been to mark an {@link InboxMessage} as read when the notification is clicked. The default behavior remains unchanged and messages will continue to be marked as read unless you set this field to false.