registerServices
Register SDK services in order to be initialized. This function could be used to add custom or override existed SDK services and could be called multiple times before services initialization.
Parameters
registry
callback with services to be registered.
Usage example: registerServices(registry -> { registry.register(MyCustomService1.class, MyCustomServiceImpl1::new) .register(MyCustomService2.class, MyCustomServiceImpl2::new) .register(MyCustomService3.class, MyCustomServiceImpl3::new) ... });
See also
Throws
if called when services already initialized.