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::*;

/// Deprecated.
#[deprecated = "INSearchCallHistoryIntent is deprecated. There is no replacement."]
#[cfg(all(feature = "INIntent", feature = "INSearchCallHistoryIntent"))]
impl INSearchCallHistoryIntent {
    extern_methods!(
        #[cfg(all(
            feature = "INCallCapabilityOptions",
            feature = "INCallRecordType",
            feature = "INDateComponentsRange",
            feature = "INPerson"
        ))]
        #[deprecated = "Use the designated initializer instead"]
        #[unsafe(method(initWithCallType:dateCreated:recipient:callCapabilities:))]
        #[unsafe(method_family = init)]
        pub unsafe fn initWithCallType_dateCreated_recipient_callCapabilities(
            this: Allocated<Self>,
            call_type: INCallRecordType,
            date_created: Option<&INDateComponentsRange>,
            recipient: Option<&INPerson>,
            call_capabilities: INCallCapabilityOptions,
        ) -> Retained<Self>;

        #[cfg(feature = "INCallRecordType")]
        #[deprecated = "Use callTypes instead"]
        #[unsafe(method(callType))]
        #[unsafe(method_family = none)]
        pub unsafe fn callType(&self) -> INCallRecordType;
    );
}