Package-level declarations

Types

Link copied to clipboard

Represents how the cursor should be rendered in the screencast stream. These are defined as a bitmask in the portal specification.

Link copied to clipboard
class ScreenCastPortal(connection: DBusConnection)

Wrapper around the org.freedesktop.portal.ScreenCast D-Bus interface. Provides convenient methods to capture screen content via PipeWire streams.

Link copied to clipboard

Represents the available source types for screencasting. These are defined as a bitmask in the portal specification.

Link copied to clipboard
data class StartResponse(val streams: List<StreamInfo>, val restoreToken: String?)

Response from ScreenCast.Start containing the selected streams.

Link copied to clipboard
data class StreamInfo(val nodeId: UInt32, val properties: Map<String, Variant<*>>)

Represents a PipeWire stream returned by ScreenCast.Start.

Properties

Link copied to clipboard

Option key for cursor mode. Used in ScreenCast.SelectSources.

Link copied to clipboard

Option key for allowing multiple source selection. Used in ScreenCast.SelectSources.

Link copied to clipboard

Result key for streams array returned in Start response.