UserAction

constructor(@NonNull identifier: String, @NonNull runnable: UserActionRunnable)

Construct an Action for the specified parameters

Parameters

identifier

Action identifier. Must uniquely define an action in your app. Might be lowercased, so be sure to compare it with case unsensitive methods.

runnable

The UserActionRunnable that will be executed when Batch needs to perform your action.