Package 

Interface SessionReadyListener


  • 
    public interface SessionReadyListener
    
                        

    Listener 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 Unit onSessionReady() Called when the SDK is ready to trigger a new session.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.