SDKInitializer
Represents the utility to initialize MobileService used by the mobile app when starting the app. Usually start function should be called in 'onCreate' of your Application.
Properties
Functions
Retrieves the enabled service by the given clazz, 'null' will be returned if no such a service is found.
Retrieves the service list
Initializes a service after SDKInitializer is initialized.
Notifies the services about the new client policy retrieved from the server.
Resets all services. resetHandler is where client code injects its own logic to reset a service. If either client code handles the reset of certain service, or wants to ignore the reset of it, the resetHandler can return 'true' for that service, otherwise, the default reset logic will be used.
Starts the application with the services. The instance of each service will be notified with the application states at different occasions, then they can execute their logic according to the state.