start

suspend fun start(sessionHandle: DBusPath, parentWindow: String = ""): Result<StartResponse>(source)

Start the remote desktop session. This will typically result in the portal presenting a dialog letting the user select what to share, including devices and optionally screen content if screencast sources were selected.

Return

Result containing StartResponse with selected devices and session info.

Parameters

sessionHandle

Object path for the session created via createSession.

parentWindow

Identifier for the application window (see Window Identifiers). Use empty string if no parent window.