Accept a control change (uses replyControlChangeRequest)
Close manager and associated resources
Deny control change (uses replyControlChangeRequest)
Listen the Remota manager close events. Can be used to alert the user in case the session was ended (when close() is called)
Listen to events triggered by when it gets connected to Remota server. This can be used to change UI state.
Listen to events when there is a control change request from the server. Developers should use this to prompt the user to confirm/deny the control change.
Listen to events when there is a change control request from the UI. This is used to forward to the Remota server, but can as well be used to change UI state.
Listen to error events within the manager. Can be used to log errors or show error messages.
Triggers a control change request
Revoke control from agent (only host can trigger)
Start listening to events and set socket handlers. In the future, the socket connection will be started here as well.
Generated using TypeDoc
Remota main class, returned when the Remota.agent/host is called. It enables developers to listen to important events, such as when users joined, session control requests and changes and so on.