screen_sources library

Screens and windows that can be captured.

Classes

MethodChannelXScreenSourcesBackend
Production XScreenSourcesBackend: ux/screen_sources for commands.
XScreenSource
One capturable surface — a display or a window — with the preview the picker draws for it.
XScreenSourcesBackend
What a screen share needs from the platform, which captureMode splits in two: the displays and windows a picker can offer, each with a rendered thumbnail, taken as one snapshot — or the bracket a consent-driven capture runs inside.

Enums

XScreenCaptureMode
How a platform decides what a screen share captures.
XScreenSourceKind
What a XScreenSource captures.

Exceptions / Errors

XScreenSourcesException
Thrown by XScreenSourcesBackend when a call cannot be served.