Package 

Interface IModule


  • 
    public interface IModule
    
                        

    A module represents a container of functionality within the SDK, a module is responsible for registering the services and behaviors required for that functionality to function property.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit register(ServiceBuilder builder) Register all services and behaviors for this module.
      • Methods inherited from class java.lang.Object

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

      • register

         abstract Unit register(ServiceBuilder builder)

        Register all services and behaviors for this module. This is called during the initialization of the OneSignal SDK.

        Parameters:
        builder - The ServiceBuilder that is used to register/provide services.