RedactionView

Responsible for the UI used to apply redactions.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int)

Types

Link copied to clipboard
Listener receiving calls when redaction events are triggered.

Properties

Link copied to clipboard
Redaction button icon width.

Functions

Link copied to clipboard
Collapses redaction menu options if expanded
Link copied to clipboard
Returns the width in pixels of the redaction button.
Link copied to clipboard
Returns true if redaction button is visible.
Link copied to clipboard
Returns whether the redaction annotation preview mode is enabled or not.
Link copied to clipboard
Returns true if redaction button is visible and expanded.
Link copied to clipboard
open fun setBottomOffset(bottomOffset: Int)
Sets the bottom offset for the redaction button, used to make sure it doesn't overlay any other view.
Link copied to clipboard
Sets the RedactionViewListener to notify when an action was clicked.
Link copied to clipboard
Enables or disables redaction annotation preview mode.
Link copied to clipboard
open fun setRedactionButtonVisible(visible: Boolean, animate: Boolean)
Shows the button used to open the redaction menu.