objc2_call_kit/generated/
CXSetGroupCallAction.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7
8use crate::*;
9
10extern_class!(
11 #[unsafe(super(CXCallAction, CXAction, NSObject))]
13 #[derive(Debug, PartialEq, Eq, Hash)]
14 #[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
15 pub struct CXSetGroupCallAction;
16);
17
18#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
19extern_conformance!(
20 unsafe impl NSCoding for CXSetGroupCallAction {}
21);
22
23#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
24extern_conformance!(
25 unsafe impl NSCopying for CXSetGroupCallAction {}
26);
27
28#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
29unsafe impl CopyingHelper for CXSetGroupCallAction {
30 type Result = Self;
31}
32
33#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
34extern_conformance!(
35 unsafe impl NSObjectProtocol for CXSetGroupCallAction {}
36);
37
38#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
39extern_conformance!(
40 unsafe impl NSSecureCoding for CXSetGroupCallAction {}
41);
42
43#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
44impl CXSetGroupCallAction {
45 extern_methods!(
46 #[unsafe(method(initWithCallUUID:callUUIDToGroupWith:))]
47 #[unsafe(method_family = init)]
48 pub unsafe fn initWithCallUUID_callUUIDToGroupWith(
49 this: Allocated<Self>,
50 call_uuid: &NSUUID,
51 call_uuid_to_group_with: Option<&NSUUID>,
52 ) -> Retained<Self>;
53
54 #[unsafe(method(initWithCoder:))]
58 #[unsafe(method_family = init)]
59 pub unsafe fn initWithCoder(
60 this: Allocated<Self>,
61 a_decoder: &NSCoder,
62 ) -> Option<Retained<Self>>;
63
64 #[unsafe(method(initWithCallUUID:))]
65 #[unsafe(method_family = init)]
66 pub unsafe fn initWithCallUUID(this: Allocated<Self>, call_uuid: &NSUUID)
67 -> Retained<Self>;
68
69 #[unsafe(method(callUUIDToGroupWith))]
74 #[unsafe(method_family = none)]
75 pub unsafe fn callUUIDToGroupWith(&self) -> Option<Retained<NSUUID>>;
76
77 #[unsafe(method(setCallUUIDToGroupWith:))]
81 #[unsafe(method_family = none)]
82 pub unsafe fn setCallUUIDToGroupWith(&self, call_uuid_to_group_with: Option<&NSUUID>);
83 );
84}
85
86#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
88impl CXSetGroupCallAction {
89 extern_methods!(
90 #[unsafe(method(init))]
91 #[unsafe(method_family = init)]
92 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
93 );
94}
95
96#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
98impl CXSetGroupCallAction {
99 extern_methods!(
100 #[unsafe(method(new))]
101 #[unsafe(method_family = new)]
102 pub unsafe fn new() -> Retained<Self>;
103 );
104}