requestSdk
An asynchronous request for an instance of PushFeature.
This method provides an asynchronous way to get a PushFeature instance. If initialization has already completed successfully, the listener will be called immediately. If initialization is still in progress, the listener will be called when initialization completes.
Note: If initialization completes with a failed status, the listener will not be called, and the current list of WhenReadyListener listeners will be cleared.
Parameters
Callback to be called after initialization has completed successfully
See also
#unregisterWhenReadyListener(WhenReadyListener)
An asynchronous request for an instance of PushFeature.
This method provides an asynchronous way to get a PushFeature instance with a specific Looper for the callback. If initialization has already completed successfully, the listener will be called immediately. If initialization is still in progress, the listener will be called when initialization completes.
Note: If initialization completes with a failed status, the listener will not be called, and the current list of WhenReadyListener listeners will be cleared.
Parameters
Used for the callback. If null, the current thread's Looper or main Looper will be used
Callback to be called after initialization has completed successfully
See also
#unregisterWhenReadyListener(WhenReadyListener)