Package com.batch.android
Class UserAction
java.lang.Object
com.batch.android.UserAction
Model that represents an user action, which can be triggered by Batch SDK in various contexts.
-
Constructor Summary
ConstructorDescriptionUserAction
(String identifier, UserActionRunnable runnable) Construct an Action for the specified parameters -
Method Summary
-
Constructor Details
-
UserAction
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
- TheUserActionRunnable
that will be executed when Batch needs to perform your action.
-
-
Method Details
-
getIdentifier
-
getRunnable
-