create_screencast_session


Description:

public async Session create_screencast_session (OutputType outputs, ScreencastFlags flags, CursorMode cursor_mode, PersistMode persist_mode, string? restore_token, Cancellable? cancellable) throws Error

Creates a session for a screencast.

When the request is done, callback will be called. You can then call [[email protected]_screencast_session_finish] to get the results.

Parameters:

this

a [class@Portal]

outputs

which kinds of source to offer in the dialog

flags

options for this call

cursor_mode

the cursor mode of the session

persist_mode

the persist mode of the session

restore_token

the token of a previous screencast session to restore

cancellable

optional [[email protected]]

callback

a callback to call when the request is done

data

data to pass to callback




2022 vala-language.org