JavaScriptAction

constructor(@NonNull script: String)

Constructs the JavaScript action with given script.

Parameters

script

Script that should be executed when the action gets triggered.


constructor(@Nullable script: String, @Nullable subActions: List<Action>)

Constructs the JavaScript action with given script.

Parameters

script

Script that should be executed when the action gets triggered.

subActions

List of sub-actions of this action.