If for some reason, you need to implement your own dispatcher, you must create a BatchEventDispatcher and register it to the SDK using Batch.EventDispatcher.addDispatcher(BatchEventDispatcher).
You don't need to add a dispatcher if you're using one of the previous "ready-to-go" library ! It will be automatically registered.