objc2_intents/generated/
INPerson_SiriAdditions.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use objc2::__framework_prelude::*;
4use objc2_foundation::*;
5
6use crate::*;
7
8/// SiriAdditions.
9#[cfg(feature = "INPerson")]
10impl INPerson {
11    extern_methods!(
12        #[unsafe(method(siriMatches))]
13        #[unsafe(method_family = none)]
14        pub unsafe fn siriMatches(&self) -> Option<Retained<NSArray<INPerson>>>;
15
16        #[unsafe(method(isMe))]
17        #[unsafe(method_family = none)]
18        pub unsafe fn isMe(&self) -> bool;
19    );
20}
21
22#[cfg(all(feature = "INPerson", feature = "INSpeakable"))]
23extern_conformance!(
24    unsafe impl INSpeakable for INPerson {}
25);