setAdditionalAction

open fun setAdditionalAction(@NonNull triggerEvent: AnnotationTriggerEvent, @Nullable action: Action): B

Sets the action that should be executed for given annotation trigger event.

Parameters

triggerEvent

Event for which to set the action.

action

Action to be executed when triggerEvent occurs, null to remove existing action.