Package io.cobrowse
Interface CobrowseIO.RemoteControlRequestDelegate
- All Superinterfaces:
CobrowseIO.Delegate,Session.Listener
- Enclosing class:
- CobrowseIO
@UiThread
public static interface CobrowseIO.RemoteControlRequestDelegate
extends CobrowseIO.Delegate
Implement this interface on your delegate to override the default logic for handling
remote control requests. You should show your own UI for user consent, either allowing
or rejecting the remote control request based on the user's response.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRemoteControlRequest(android.app.Activity activity, Session session) Called when an agent requests remote control.Methods inherited from interface io.cobrowse.Session.Listener
sessionDidEnd, sessionDidUpdate
-
Method Details
-
handleRemoteControlRequest
Called when an agent requests remote control. This allows you to override the default confirmation UI.- Parameters:
activity- The currently active Activity.session- The currently active Session.
-