objc2_intents/generated/
INSearchCallHistoryIntent_Deprecated.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8#[deprecated = "INSearchCallHistoryIntent is deprecated. There is no replacement."]
10#[cfg(all(feature = "INIntent", feature = "INSearchCallHistoryIntent"))]
11impl INSearchCallHistoryIntent {
12 extern_methods!(
13 #[cfg(all(
14 feature = "INCallCapabilityOptions",
15 feature = "INCallRecordType",
16 feature = "INDateComponentsRange",
17 feature = "INPerson"
18 ))]
19 #[deprecated = "Use the designated initializer instead"]
20 #[unsafe(method(initWithCallType:dateCreated:recipient:callCapabilities:))]
21 #[unsafe(method_family = init)]
22 pub unsafe fn initWithCallType_dateCreated_recipient_callCapabilities(
23 this: Allocated<Self>,
24 call_type: INCallRecordType,
25 date_created: Option<&INDateComponentsRange>,
26 recipient: Option<&INPerson>,
27 call_capabilities: INCallCapabilityOptions,
28 ) -> Retained<Self>;
29
30 #[cfg(feature = "INCallRecordType")]
31 #[deprecated = "Use callTypes instead"]
32 #[unsafe(method(callType))]
33 #[unsafe(method_family = none)]
34 pub unsafe fn callType(&self) -> INCallRecordType;
35 );
36}