impl ScreenCaptureAccess { /// If current app not in list, will open window. /// Return the same result as preflight. #[inline] pubfn request(&self) -> bool { unsafe { CGRequestScreenCaptureAccess() == 1 }
}
/// Return true if has access #[inline] pubfn preflight(&self) -> bool { unsafe { CGPreflightScreenCaptureAccess() == 1 }
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.