pub trait MacosCapturableContentFilterExt: Sized {
    // Required methods
    fn with_window_level_range(
        self,
        min: Option<MacosWindowLevel>,
        max: Option<MacosWindowLevel>
    ) -> Result<Self, CapturableContentError>;
    fn with_exclude_bundle_ids(self, bundle_id: &[&str]) -> Self;
    fn with_exclude_window_ids(self, window_ids: &[u32]) -> Self;
}
Expand description

Mac OS specific extensions for capture content filters A capturable content filter with Mac OS specific options

Required Methods§

source

fn with_window_level_range( self, min: Option<MacosWindowLevel>, max: Option<MacosWindowLevel> ) -> Result<Self, CapturableContentError>

Set the range of “window levels” to filter to (inclusive)

source

fn with_exclude_bundle_ids(self, bundle_id: &[&str]) -> Self

Exclude windows who’s applications have the provided bundle ids

source

fn with_exclude_window_ids(self, window_ids: &[u32]) -> Self

Exclude windows with the given CGWindowIDs

Object Safety§

This trait is not object safe.

Implementors§