Package io.cobrowse

Interface Session.Listener

All Known Subinterfaces:
CobrowseIO.Delegate, CobrowseIO.FullDeviceRequestDelegate, CobrowseIO.RemoteControlRequestDelegate, CobrowseIO.SessionControlsDelegate, CobrowseIO.SessionLoadDelegate, CobrowseIO.SessionRequestDelegate
Enclosing class:
Session

public static interface Session.Listener
Interface for subscribing to changes in Session state
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a session ends and can no longer be modified
    void
    Called whenever a session property changes
  • Method Details

    • sessionDidUpdate

      void sessionDidUpdate(@NonNull Session session)
      Called whenever a session property changes
      Parameters:
      session - The session
    • sessionDidEnd

      void sessionDidEnd(@NonNull Session session)
      Called when a session ends and can no longer be modified
      Parameters:
      session - The session