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

use crate::*;

/// SiriAdditions.
#[cfg(feature = "INPerson")]
impl INPerson {
    extern_methods!(
        #[unsafe(method(siriMatches))]
        #[unsafe(method_family = none)]
        pub unsafe fn siriMatches(&self) -> Option<Retained<NSArray<INPerson>>>;

        #[unsafe(method(isMe))]
        #[unsafe(method_family = none)]
        pub unsafe fn isMe(&self) -> bool;
    );
}

#[cfg(all(feature = "INPerson", feature = "INSpeakable"))]
extern_conformance!(
    unsafe impl INSpeakable for INPerson {}
);