IRedactionCallback

public interface IRedactionCallback

Defines methods that are required for receiving information on each redaction change and optionally prevent it.


Learn more

Methods

Method Description
acceptRedaction(RedactionDescription description) This call is triggered right before applying any redaction to the document and allows to log or forbid it.

acceptRedaction(RedactionDescription description)

public abstract boolean acceptRedaction(RedactionDescription description)

This call is triggered right before applying any redaction to the document and allows to log or forbid it.

Parameters:

Parameter Type Description
description RedactionDescription Contains information about particular match type, criteria, text and position

Returns: boolean - Return true to accept or false to decline particular match redaction