| Top |  |  |  |  | 
A screencast session makes the content of a monitor or window available as a pipewire stream.
The underlying portal is org.freedesktop.portal.ScreenCast.
void xdp_portal_create_screencast_session (XdpPortal *portal,XdpOutputType outputs,XdpScreencastFlags flags,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer data);
Creates a session for a screencast.
When the request is done, callback
 will be called. You can then
call xdp_portal_create_screencast_session_finish() to get the results.
| portal | ||
| outputs | which kinds of source to offer in the dialog | |
| flags | options for this call | |
| cancellable | optional GCancellable. | [nullable] | 
| callback | a callback to call when the request is done. | [scope async] | 
| data | data to pass to  | [closure] | 
XdpSession * xdp_portal_create_screencast_session_finish (XdpPortal *portal,GAsyncResult *result,GError **error);
Finishes the create-screencast request, and returns an XdpSession.