objc2_local_authentication_embedded_ui/generated/
LARight_UI.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7use objc2_local_authentication::*;
8
9use crate::*;
10
11mod private_LARightUI {
12 pub trait Sealed {}
13}
14
15#[doc(alias = "UI")]
19pub unsafe trait LARightUI: ClassType + Sized + private_LARightUI::Sealed {
20 extern_methods!(
21 #[cfg(all(
22 feature = "LAPresentationContext",
23 feature = "block2",
24 feature = "objc2-app-kit"
25 ))]
26 #[cfg(target_os = "macos")]
27 #[unsafe(method(authorizeWithLocalizedReason:inPresentationContext:completion:))]
35 #[unsafe(method_family = none)]
36 unsafe fn authorizeWithLocalizedReason_inPresentationContext_completion(
37 &self,
38 localized_reason: &NSString,
39 presentation_context: &LAPresentationContext,
40 handler: &block2::DynBlock<dyn Fn(*mut NSError)>,
41 );
42 );
43}
44
45impl private_LARightUI::Sealed for LARight {}
46unsafe impl LARightUI for LARight {}