Marketing Cloud SDK / com.salesforce.marketingcloud.messages.inbox / InboxMessageManager / setMessageRead

setMessageRead

abstract fun setMessageRead(@NonNull message: InboxMessage): Unit

Marks a InboxMessage as read in local storage. This status will persist unless local storage is cleared on the device.

Parameters

message - InboxMessage: is the InboxMessage to mark as read.

abstract fun setMessageRead(@NonNull messageId: String): Unit

Marks a InboxMessage as read in local storage. This status will persist unless local storage is cleared on the device.

Parameters

messageId - String: is the InboxMessage#id() of the InboxMessage to mark as read.