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§
sourcefn with_window_level_range(
self,
min: Option<MacosWindowLevel>,
max: Option<MacosWindowLevel>
) -> Result<Self, CapturableContentError>
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)
sourcefn with_exclude_bundle_ids(self, bundle_id: &[&str]) -> Self
fn with_exclude_bundle_ids(self, bundle_id: &[&str]) -> Self
Exclude windows who’s applications have the provided bundle ids
sourcefn with_exclude_window_ids(self, window_ids: &[u32]) -> Self
fn with_exclude_window_ids(self, window_ids: &[u32]) -> Self
Exclude windows with the given CGWindowIDs
Object Safety§
This trait is not object safe.