addProvider function

void addProvider(
  1. BibleProvider provider,
  2. List<String> versions
)

Adds a BibleProvider to the list of available providers.

You can implement your own provider by extending the BibleProvider class and then implementing the constructor and BibleProvider.getPassage command. This would be useful in circumstances where you would like to be able to switch out versions but don't have a certain API in the providers library. If you do this please consider sending a pull request and adding your provider to the providers library!

Implementation

void addProvider(BibleProvider provider, List<String> versions) {
  _providers.add(provider);
}