objc2_intents/generated/
INStartCallIntent_Deprecated.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9#[cfg(all(feature = "INIntent", feature = "INStartCallIntent"))]
11impl INStartCallIntent {
12 extern_methods!(
13 #[cfg(all(
14 feature = "INCallAudioRoute",
15 feature = "INCallCapability",
16 feature = "INCallDestinationType",
17 feature = "INCallRecordType",
18 feature = "INPerson"
19 ))]
20 #[deprecated]
21 #[unsafe(method(initWithAudioRoute:destinationType:contacts:recordTypeForRedialing:callCapability:))]
22 #[unsafe(method_family = init)]
23 pub unsafe fn initWithAudioRoute_destinationType_contacts_recordTypeForRedialing_callCapability(
24 this: Allocated<Self>,
25 audio_route: INCallAudioRoute,
26 destination_type: INCallDestinationType,
27 contacts: Option<&NSArray<INPerson>>,
28 record_type_for_redialing: INCallRecordType,
29 call_capability: INCallCapability,
30 ) -> Retained<Self>;
31
32 #[cfg(feature = "INCallRecordType")]
33 #[deprecated]
34 #[unsafe(method(recordTypeForRedialing))]
35 #[unsafe(method_family = none)]
36 pub unsafe fn recordTypeForRedialing(&self) -> INCallRecordType;
37 );
38}