Package 

Interface BatchEventDispatcher

    • Method Summary

      Modifier and Type Method Description
      String getName() Get the name of the dispatcherThis information is only used for analytics/!\ `default` method can lead to an AbstractMethodError if java 8 language features are not available (api < 24).Ensure catching the exception when using this method or use reflection check.
      int getVersion() Get the version of the dispatcherThis information is only used for analytics/!\ `default` method can lead to an AbstractMethodError if java 8 language features are not available (api < 24).Ensure catching the exception when using this method or use reflection check.
      abstract void dispatchEvent(@NonNull() Batch.EventDispatcher.Type eventType, @NonNull() Batch.EventDispatcher.Payload payload) Callback when a new events just happened in the Batch SDK
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getName

        @Nullable() String getName()

        Get the name of the dispatcherThis information is only used for analytics/!\ `default` method can lead to an AbstractMethodError if java 8 language features are not available (api < 24).Ensure catching the exception when using this method or use reflection check.

      • getVersion

         int getVersion()

        Get the version of the dispatcherThis information is only used for analytics/!\ `default` method can lead to an AbstractMethodError if java 8 language features are not available (api < 24).Ensure catching the exception when using this method or use reflection check.