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

use crate::*;

/// Deprecated.
#[cfg(all(feature = "INIntent", feature = "INStartCallIntent"))]
impl INStartCallIntent {
    extern_methods!(
        #[cfg(all(
            feature = "INCallAudioRoute",
            feature = "INCallCapability",
            feature = "INCallDestinationType",
            feature = "INCallRecordType",
            feature = "INPerson"
        ))]
        #[deprecated]
        #[unsafe(method(initWithAudioRoute:destinationType:contacts:recordTypeForRedialing:callCapability:))]
        #[unsafe(method_family = init)]
        pub unsafe fn initWithAudioRoute_destinationType_contacts_recordTypeForRedialing_callCapability(
            this: Allocated<Self>,
            audio_route: INCallAudioRoute,
            destination_type: INCallDestinationType,
            contacts: Option<&NSArray<INPerson>>,
            record_type_for_redialing: INCallRecordType,
            call_capability: INCallCapability,
        ) -> Retained<Self>;

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