create_remote_desktop_session


Description:

public async Session create_remote_desktop_session (DeviceType devices, OutputType outputs, RemoteDesktopFlags flags, CursorMode cursor_mode, Cancellable? cancellable) throws Error

Creates a session for remote desktop.

When the request is done, callback will be called. You can then call [method@Portal.create_remote_desktop_session_finish] to get the results.

Parameters:

this

a [class@Portal]

devices

which kinds of input devices to ofer in the new dialog

outputs

which kinds of source to offer in the dialog

flags

options for this call

cursor_mode

the cursor mode of the session

cancellable

optional [class@Gio.Cancellable]

callback

a callback to call when the request is done

data

data to pass to callback