InputCaptureSession


Object Hierarchy:

Object hierarchy for InputCaptureSession

Description:

[ CCode ( type_id = "xdp_input_capture_session_get_type ()" ) ]
public class InputCaptureSession : Object

A representation of a long-lived input capture portal interaction.

The [class@InputCaptureSession] object is used to represent portal interactions with the input capture desktop portal that extend over multiple portal calls. Usually a caller creates an input capture session, requests the available zones and sets up pointer barriers on those zones before enabling the session.

To find available zones, call [method@InputCaptureSession.get_zones]. These [class@InputCaptureZone] object represent the accessible desktop area for input capturing. [class@InputCapturePointerBarrier] objects can be set up on these zones to trigger input capture.

The [class@InputCaptureSession] wraps a [class@Session] object.


Namespace: Xdp
Package: libportal

Content:

Creation methods:

Methods:

Signals:

Inherited Members: