objc2-intents 0.3.2

Bindings to the Intents framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use objc2::__framework_prelude::*;

use crate::*;

/// Custom.
#[cfg(feature = "INIntentResolutionResult")]
impl INIntentResolutionResult {
    extern_methods!(
        #[unsafe(method(unsupportedWithReason:))]
        #[unsafe(method_family = none)]
        pub unsafe fn unsupportedWithReason(reason: NSInteger) -> Retained<Self>;

        /// # Safety
        ///
        /// `item_to_confirm` should be of the correct type.
        #[unsafe(method(confirmationRequiredWithItemToConfirm:forReason:))]
        #[unsafe(method_family = none)]
        pub unsafe fn confirmationRequiredWithItemToConfirm_forReason(
            item_to_confirm: &AnyObject,
            reason: NSInteger,
        ) -> Retained<Self>;
    );
}