create_input_capture_session


Description:

public async InputCaptureSession create_input_capture_session (Parent? parent, InputCapability capabilities, Cancellable? cancellable) throws Error

Creates a session for input capture

When the request is done, callback will be called. You can then call [method@Portal.create_input_capture_session_finish] to get the results.

Parameters:

this

a [class@Portal]

parent

parent window information

capabilities

which kinds of capabilities to request

cancellable

optional [class@Gio.Cancellable]

callback

a callback to call when the request is done

data

data to pass to callback