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 Details

    • handleRemoteControlRequest

      void handleRemoteControlRequest(@NonNull android.app.Activity activity, @NonNull Session session)
      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.