objc2_user_notifications/generated/
UNNotificationAttributedMessageContext.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9 #[unsafe(super(NSObject))]
11 #[derive(Debug, PartialEq, Eq, Hash)]
12 pub struct UNNotificationAttributedMessageContext;
13);
14
15extern_conformance!(
16 unsafe impl NSObjectProtocol for UNNotificationAttributedMessageContext {}
17);
18
19#[cfg(feature = "UNNotificationContent")]
20extern_conformance!(
21 unsafe impl UNNotificationContentProviding for UNNotificationAttributedMessageContext {}
22);
23
24impl UNNotificationAttributedMessageContext {
25 extern_methods!(
26 #[unsafe(method(init))]
27 #[unsafe(method_family = init)]
28 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
29 );
30}
31
32impl UNNotificationAttributedMessageContext {
34 extern_methods!(
35 #[unsafe(method(new))]
36 #[unsafe(method_family = new)]
37 pub unsafe fn new() -> Retained<Self>;
38 );
39}