Package io.cobrowse
Interface CobrowseIO.SessionRequestDelegate
- All Superinterfaces:
CobrowseIO.Delegate,Session.Listener
- Enclosing class:
- CobrowseIO
Implement this interface on your delegate to override the default logic for handling
incoming session requests. You should show your own UI for user consent, either activating
or ending the session based on the users response.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleSessionRequest(android.app.Activity activity, Session session) Called when a session has been requested.Methods inherited from interface io.cobrowse.Session.Listener
sessionDidEnd, sessionDidUpdate
-
Method Details
-
handleSessionRequest
Called when a session has been requested. This gives your code an opportunity to show a session confirmation prompt.- Parameters:
activity- The currently active Activitysession- The Session that is waiting to start
-