setSituationOverride

open fun setSituationOverride(situation: Int, @Nullable action: Action)

Adds an action to be used instead of the default action for a given situation.

Parameters

situation

The situation to override

action

Action for the situation