public interface SdkLifecycleObserver
Modifier and Type | Method and Description |
---|---|
void |
observeMainProcessInitCompleteResult(Observer<java.lang.Boolean> observer,
boolean register)
Listen for the initialization state in the main process
If the observer is registered and the initialization is complete, onEvent will be triggered to notify the observer the current state.
|
void observeMainProcessInitCompleteResult(Observer<java.lang.Boolean> observer, boolean register)
observer
- The observer. The parameter is the current state.register
- true: register the observer; false: unregister the observer