Realm

oa::vision::ScreenCapture

Stateful screen capture session. Sessions are constructed by ScreenCapture::open. This build links no platform capture backend, so opening always reports ErrorKind::MissingCapability and no session can exist; poll, release, and close land with the portal/PipeWire backend that produces them.

StRust public API

Declaration

pub struct ScreenCapture(/* private fields */);
Public Rust declaration.

Associated Functions

pub const fn is_supported() -> bool
pub fn open(engine: &Engine, config: &ScreenCaptureConfig) -> Result<Self>

Public Method Documentation

pub const fn is_supported() -> bool
No public source comment is attached to this declaration.
pub fn open( engine: &Engine, config: &ScreenCaptureConfig ) -> Result<Self>
No public source comment is attached to this declaration.