narrationAppender

fun narrationAppender(narrationAppender: Consumer<NarrationMessageBuilder>): CustomButtonWidget.Builder

Applies a narration appender to this widget for adding narrations on top of the standard button narrations. Default is none.

Return

this builder

Author

fzzyhmstrs

Since

0.6.0

Parameters

narrationAppender

Consumer<NarrationMessageBuilder> unlike the supplier, this is used to directly append additional narrations as needed to the message builder.