]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | pub type PushNotificationChannel = *mut ::core::ffi::c_void; |
2 | pub type PushNotificationChannelManagerForUser = *mut ::core::ffi::c_void; | |
3 | pub type PushNotificationChannelsRevokedEventArgs = *mut ::core::ffi::c_void; | |
4 | pub type PushNotificationReceivedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 5 | #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] |
5e7ed085 FG |
6 | #[repr(transparent)] |
7 | pub struct PushNotificationType(pub i32); | |
8 | impl PushNotificationType { | |
9 | pub const Toast: Self = Self(0i32); | |
10 | pub const Tile: Self = Self(1i32); | |
11 | pub const Badge: Self = Self(2i32); | |
12 | pub const Raw: Self = Self(3i32); | |
13 | pub const TileFlyout: Self = Self(4i32); | |
14 | } | |
15 | impl ::core::marker::Copy for PushNotificationType {} | |
16 | impl ::core::clone::Clone for PushNotificationType { | |
17 | fn clone(&self) -> Self { | |
18 | *self | |
19 | } | |
20 | } | |
21 | pub type RawNotification = *mut ::core::ffi::c_void; |