objc2_intents/generated/
INIntentResolutionResult_Custom.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8/// Custom.
9#[cfg(feature = "INIntentResolutionResult")]
10impl INIntentResolutionResult {
11    extern_methods!(
12        #[unsafe(method(unsupportedWithReason:))]
13        #[unsafe(method_family = none)]
14        pub unsafe fn unsupportedWithReason(reason: NSInteger) -> Retained<Self>;
15
16        /// # Safety
17        ///
18        /// `item_to_confirm` should be of the correct type.
19        #[unsafe(method(confirmationRequiredWithItemToConfirm:forReason:))]
20        #[unsafe(method_family = none)]
21        pub unsafe fn confirmationRequiredWithItemToConfirm_forReason(
22            item_to_confirm: &AnyObject,
23            reason: NSInteger,
24        ) -> Retained<Self>;
25    );
26}