handleRemoteControlRequest property

  1. @override
Stream<Session> get handleRemoteControlRequest
override

Listen to this event emitter to override the default remote control acceptance prompt. When you have gained confirmation from the user, you should call Session.setRemoteControl and pass either RemoteControlState.on or RemoteControlState.rejected to approve or reject the remote control request.

Implementation

@override
Stream<Session> get handleRemoteControlRequest =>
    _handleRemoteControlRequestController.stream;