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

        #[deprecated]
        #[unsafe(method(initWithProfileNumber:profileName:defaultProfile:))]
        #[unsafe(method_family = init)]
        pub unsafe fn initWithProfileNumber_profileName_defaultProfile(
            this: Allocated<Self>,
            profile_number: Option<&NSNumber>,
            profile_name: Option<&NSString>,
            default_profile: Option<&NSNumber>,
        ) -> Retained<Self>;

        #[deprecated]
        #[unsafe(method(profileLabel))]
        #[unsafe(method_family = none)]
        pub unsafe fn profileLabel(&self) -> Option<Retained<NSString>>;
    );
}