Class UserAction

java.lang.Object
com.batch.android.UserAction

public class UserAction extends Object
Model that represents an user action, which can be triggered by Batch SDK in various contexts.
  • Constructor Details

    • UserAction

      public UserAction(String identifier, UserActionRunnable runnable)
      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.
  • Method Details