-
public class UserActionModel that represents an user action, which can be triggered by Batch SDK in various contexts.
-
-
Field Summary
Fields Modifier and Type Field Description private Stringidentifierprivate UserActionRunnablerunnable
-
Constructor Summary
Constructors Constructor Description UserAction(String identifier, UserActionRunnable runnable)Construct an Action for the specified parameters
-
Method Summary
Modifier and Type Method Description StringgetIdentifier()UserActionRunnablegetRunnable()-
-
Constructor Detail
-
UserAction
UserAction(String identifier, UserActionRunnable runnable)
Construct an Action for the specified parameters- Parameters:
identifier- Action identifier.runnable- The UserActionRunnable that will be executed when Batch needs to perform your action.
-
-
Method Detail
-
getIdentifier
@NonNull() String getIdentifier()
-
getRunnable
@NonNull() UserActionRunnable getRunnable()
-
-
-
-