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.
#[deprecated = "INSaveProfileInCarIntent is deprecated. There is no replacement."]
#[cfg(all(feature = "INIntent", feature = "INSaveProfileInCarIntent"))]
impl INSaveProfileInCarIntent {
    extern_methods!(
        #[deprecated = "Use `-initWithProfileNumber:profileName:` method instead."]
        #[unsafe(method(initWithProfileNumber:profileLabel:))]
        #[unsafe(method_family = init)]
        pub unsafe fn initWithProfileNumber_profileLabel(
            this: Allocated<Self>,
            profile_number: Option<&NSNumber>,
            profile_label: Option<&NSString>,
        ) -> Retained<Self>;

        #[deprecated = "Use `profileName` property instead."]
        #[unsafe(method(profileLabel))]
        #[unsafe(method_family = none)]
        pub unsafe fn profileLabel(&self) -> Option<Retained<NSString>>;
    );
}