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::ffi::*;
use objc2::__framework_prelude::*;

use crate::*;

/// Deprecated.
#[cfg(all(feature = "INIntentResponse", feature = "INSendMessageIntentResponse"))]
impl INSendMessageIntentResponse {
    extern_methods!(
        #[cfg(feature = "INMessage")]
        #[deprecated]
        #[unsafe(method(sentMessage))]
        #[unsafe(method_family = none)]
        pub unsafe fn sentMessage(&self) -> Option<Retained<INMessage>>;

        #[cfg(feature = "INMessage")]
        /// Setter for [`sentMessage`][Self::sentMessage].
        ///
        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
        #[deprecated]
        #[unsafe(method(setSentMessage:))]
        #[unsafe(method_family = none)]
        pub unsafe fn setSentMessage(&self, sent_message: Option<&INMessage>);
    );
}