-
public interface SessionReadyListenerListener interface for receiving callbacks when the SDK is ready to trigger a new session.
This callback is triggered when all required conditions are met based on the launch counter.
Developers should call com.appsflyer.AppsFlyerLib.start within this callback to ensure proper session initialization with all required data (e.g., deeplink parameters).
Example usage:
AppsFlyerLib.getInstance().registerSessionReadyListener { // SDK is ready - you can now call start() AppsFlyerLib.getInstance().start() }
-
-
Method Summary
Modifier and Type Method Description abstract UnitonSessionReady()Called when the SDK is ready to trigger a new session. -
-
Method Detail
-
onSessionReady
abstract Unit onSessionReady()
Called when the SDK is ready to trigger a new session.
This method is invoked on the background thread when all required conditions are satisfied. Developers should call com.appsflyer.AppsFlyerLib.start within this callback to ensure proper session initialization.
-
-
-
-