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"))]
19unsafe impl NSCoding for CXSetGroupCallAction {}
20
21#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
22unsafe impl NSCopying for CXSetGroupCallAction {}
23
24#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
25unsafe impl CopyingHelper for CXSetGroupCallAction {
26 type Result = Self;
27}
28
29#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
30unsafe impl NSObjectProtocol for CXSetGroupCallAction {}
31
32#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
33unsafe impl NSSecureCoding for CXSetGroupCallAction {}
34
35#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
36impl CXSetGroupCallAction {
37 extern_methods!(
38 #[unsafe(method(initWithCallUUID:callUUIDToGroupWith:))]
39 #[unsafe(method_family = init)]
40 pub unsafe fn initWithCallUUID_callUUIDToGroupWith(
41 this: Allocated<Self>,
42 call_uuid: &NSUUID,
43 call_uuid_to_group_with: Option<&NSUUID>,
44 ) -> Retained<Self>;
45
46 #[unsafe(method(initWithCoder:))]
47 #[unsafe(method_family = init)]
48 pub unsafe fn initWithCoder(
49 this: Allocated<Self>,
50 a_decoder: &NSCoder,
51 ) -> Option<Retained<Self>>;
52
53 #[unsafe(method(initWithCallUUID:))]
54 #[unsafe(method_family = init)]
55 pub unsafe fn initWithCallUUID(this: Allocated<Self>, call_uuid: &NSUUID)
56 -> Retained<Self>;
57
58 #[unsafe(method(callUUIDToGroupWith))]
63 #[unsafe(method_family = none)]
64 pub unsafe fn callUUIDToGroupWith(&self) -> Option<Retained<NSUUID>>;
65
66 #[unsafe(method(setCallUUIDToGroupWith:))]
68 #[unsafe(method_family = none)]
69 pub unsafe fn setCallUUIDToGroupWith(&self, call_uuid_to_group_with: Option<&NSUUID>);
70 );
71}
72
73#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
75impl CXSetGroupCallAction {
76 extern_methods!(
77 #[unsafe(method(init))]
78 #[unsafe(method_family = init)]
79 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
80 );
81}
82
83#[cfg(all(feature = "CXAction", feature = "CXCallAction"))]
85impl CXSetGroupCallAction {
86 extern_methods!(
87 #[unsafe(method(new))]
88 #[unsafe(method_family = new)]
89 pub unsafe fn new() -> Retained<Self>;
90 );
91}