performAction

open fun performAction(@NonNull context: Context, @NonNull actionIdentifier: String, @Nullable arguments: JSONObject): Boolean

Perform an action by its identifier. Note: The action will have a null source.

Return

true if an action was registered for this identifier and performed, false otherwise.

Parameters

actionIdentifier

Action identifier. Batch internal actions cannot be called using this method.

arguments

Action arguments. Optional.