public interface

ChatSentMessageReceipt

com.salesforce.android.chat.core.model.ChatSentMessageReceipt

Class Overview

Delivery receipt for a sent chat message. Contains data pertaining to how the message was scrubbed locally on the device before being sent over the network to the agent if it contained any text that violated your Salesforce Organization's Sensitive Data Rules.

Summary

Public Methods
abstract String getOriginalText()
Get the message text as it was provided originally.
abstract String getScrubbedText()
Get the message text after it has been scrubbed by your Organization's Sensitive Data Rules.
abstract SensitiveDataRule[] getTriggeredSensitiveDataRules()
A list of Sensitive Data Rules that were applied to the sent message text.
abstract boolean isScrubbed()
Returns true if the original text has been modified to produce a scrubbed version of the text.

Public Methods

public abstract String getOriginalText ()

Get the message text as it was provided originally. This text may not have been sent over the network to the Agent if it happened to violate any Sensitive Data Rules.

Returns
  • The original message text as it was provided

public abstract String getScrubbedText ()

Get the message text after it has been scrubbed by your Organization's Sensitive Data Rules. This is the text that has been sent over the network to the Agent in order to maintain the user's privacy.

Returns
  • The scrubbed version of the sent message

public abstract SensitiveDataRule[] getTriggeredSensitiveDataRules ()

A list of Sensitive Data Rules that were applied to the sent message text.

Returns
  • A list of triggered Sensitive Data Rules

public abstract boolean isScrubbed ()

Returns true if the original text has been modified to produce a scrubbed version of the text.

Returns
  • True if the original text has been modified in accordance with Sensitive Data Rules