Method
XdpPortalcreate_remote_desktop_session
Declaration [src]
void
xdp_portal_create_remote_desktop_session (
XdpPortal* portal,
XdpDeviceType devices,
XdpOutputType outputs,
XdpRemoteDesktopFlags flags,
XdpCursorMode cursor_mode,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Creates a session for remote desktop.
When the request is done, callback will be called. You can then
call xdp_portal_create_remote_desktop_session_finish() to get the results.
This method completes asynchronously. Use xdp_portal_create_remote_desktop_session_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
devices-
Type:
XdpDeviceTypeWhich kinds of input devices to ofer in the new dialog.
outputs-
Type:
XdpOutputTypeWhich kinds of source to offer in the dialog.
flags-
Type:
XdpRemoteDesktopFlagsOptions for this call.
cursor_mode-
Type:
XdpCursorModeThe cursor mode of the session.
cancellable-
Type:
GCancellableOptional
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA callback to call when the request is done.
The argument can be NULL. data-
Type:
gpointerData to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.