Class Batch.EventDispatcher

java.lang.Object
com.batch.android.Batch.EventDispatcher
Enclosing class:
Batch

public static final class Batch.EventDispatcher extends Object
Batch EventDispatcher module
  • Method Details

    • addDispatcher

      public static void addDispatcher(BatchEventDispatcher dispatcher)
      Add an event dispatcher. The Batch SDK must be opt-in for the dispatcher to receive events.
      Parameters:
      dispatcher - The Batch Event Dispatcher to add
    • removeDispatcher

      public static boolean removeDispatcher(BatchEventDispatcher dispatcher)
      Remove an event dispatcher.
      Parameters:
      dispatcher - The Batch Event Dispatcher to remove