objc2_intents/generated/
INSearchForMessagesIntent_Deprecated.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9#[cfg(all(feature = "INIntent", feature = "INSearchForMessagesIntent"))]
11impl INSearchForMessagesIntent {
12 extern_methods!(
13 #[cfg(all(
14 feature = "INDateComponentsRange",
15 feature = "INMessageAttributeOptions",
16 feature = "INPerson"
17 ))]
18 #[deprecated = "Use the designated initializer instead"]
19 #[unsafe(method(initWithRecipients:senders:searchTerms:attributes:dateTimeRange:identifiers:notificationIdentifiers:groupNames:))]
20 #[unsafe(method_family = init)]
21 pub unsafe fn initWithRecipients_senders_searchTerms_attributes_dateTimeRange_identifiers_notificationIdentifiers_groupNames(
22 this: Allocated<Self>,
23 recipients: Option<&NSArray<INPerson>>,
24 senders: Option<&NSArray<INPerson>>,
25 search_terms: Option<&NSArray<NSString>>,
26 attributes: INMessageAttributeOptions,
27 date_time_range: Option<&INDateComponentsRange>,
28 identifiers: Option<&NSArray<NSString>>,
29 notification_identifiers: Option<&NSArray<NSString>>,
30 group_names: Option<&NSArray<NSString>>,
31 ) -> Retained<Self>;
32
33 #[cfg(all(
34 feature = "INDateComponentsRange",
35 feature = "INMessageAttributeOptions",
36 feature = "INPerson",
37 feature = "INSpeakableString"
38 ))]
39 #[deprecated = "Use the designated initializer instead"]
40 #[unsafe(method(initWithRecipients:senders:searchTerms:attributes:dateTimeRange:identifiers:notificationIdentifiers:speakableGroupNames:))]
41 #[unsafe(method_family = init)]
42 pub unsafe fn initWithRecipients_senders_searchTerms_attributes_dateTimeRange_identifiers_notificationIdentifiers_speakableGroupNames(
43 this: Allocated<Self>,
44 recipients: Option<&NSArray<INPerson>>,
45 senders: Option<&NSArray<INPerson>>,
46 search_terms: Option<&NSArray<NSString>>,
47 attributes: INMessageAttributeOptions,
48 date_time_range: Option<&INDateComponentsRange>,
49 identifiers: Option<&NSArray<NSString>>,
50 notification_identifiers: Option<&NSArray<NSString>>,
51 speakable_group_names: Option<&NSArray<INSpeakableString>>,
52 ) -> Retained<Self>;
53
54 #[deprecated = "Use speakableGroupNames instead"]
55 #[unsafe(method(groupNames))]
56 #[unsafe(method_family = none)]
57 pub unsafe fn groupNames(&self) -> Option<Retained<NSArray<NSString>>>;
58
59 #[cfg(feature = "INConditionalOperator")]
60 #[deprecated = "Use speakableGroupNamesOperator instead"]
61 #[unsafe(method(groupNamesOperator))]
62 #[unsafe(method_family = none)]
63 pub unsafe fn groupNamesOperator(&self) -> INConditionalOperator;
64 );
65}