Package-level declarations

Types

Link copied to clipboard

Represents the axis direction for discrete scroll events. Used for NotifyPointerAxisDiscrete.

Link copied to clipboard

Represents the available device types for remote desktop input. These are defined as a bitmask in the portal specification.

Link copied to clipboard

Represents the state of an input device (button or key). Used for NotifyPointerButton, NotifyKeyboardKeycode, and NotifyKeyboardKeysym.

Link copied to clipboard
class RemoteDesktopPortal(connection: DBusConnection)

Wrapper around the org.freedesktop.portal.RemoteDesktop D-Bus interface. Provides convenient methods to access remote desktop properties and create sessions.

Link copied to clipboard
data class StartResponse(val devices: Set<DeviceType>, val clipboardEnabled: Boolean?, val restoreToken: String?)

Response from RemoteDesktop.Start containing the selected devices and session info.

Properties

Link copied to clipboard

Option key for the finish flag in NotifyPointerAxis. If true, indicates the last axis event in a series (e.g., fingers lifted from touchpad).

Link copied to clipboard

Result key for clipboard enabled flag returned in Start response. Since version 2.

Link copied to clipboard

Result key for devices bitmask returned in Start response.