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 = "INPerson", feature = "INRideDriver"))]
impl INRideDriver {
    extern_methods!(
        #[cfg(all(feature = "INImage", feature = "INPersonHandle"))]
        #[deprecated = "Use the designated initializer instead"]
        #[unsafe(method(initWithPersonHandle:nameComponents:displayName:image:rating:phoneNumber:))]
        #[unsafe(method_family = init)]
        pub unsafe fn initWithPersonHandle_nameComponents_displayName_image_rating_phoneNumber(
            this: Allocated<Self>,
            person_handle: &INPersonHandle,
            name_components: Option<&NSPersonNameComponents>,
            display_name: Option<&NSString>,
            image: Option<&INImage>,
            rating: Option<&NSString>,
            phone_number: Option<&NSString>,
        ) -> Retained<Self>;

        #[cfg(feature = "INImage")]
        #[deprecated = "Use the designated initializer instead"]
        #[unsafe(method(initWithHandle:displayName:image:rating:phoneNumber:))]
        #[unsafe(method_family = init)]
        pub unsafe fn initWithHandle_displayName_image_rating_phoneNumber(
            this: Allocated<Self>,
            handle: &NSString,
            display_name: Option<&NSString>,
            image: Option<&INImage>,
            rating: Option<&NSString>,
            phone_number: Option<&NSString>,
        ) -> Retained<Self>;

        #[cfg(feature = "INImage")]
        #[deprecated = "Use the designated initializer instead"]
        #[unsafe(method(initWithHandle:nameComponents:image:rating:phoneNumber:))]
        #[unsafe(method_family = init)]
        pub unsafe fn initWithHandle_nameComponents_image_rating_phoneNumber(
            this: Allocated<Self>,
            handle: &NSString,
            name_components: &NSPersonNameComponents,
            image: Option<&INImage>,
            rating: Option<&NSString>,
            phone_number: Option<&NSString>,
        ) -> Retained<Self>;
    );
}