1 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
3 pub struct AccessoryNotificationType(pub u32);
4 impl AccessoryNotificationType
{
5 pub const None
: Self = Self(0u32);
6 pub const Phone
: Self = Self(1u32);
7 pub const Email
: Self = Self(2u32);
8 pub const Reminder
: Self = Self(4u32);
9 pub const Alarm
: Self = Self(8u32);
10 pub const Toast
: Self = Self(16u32);
11 pub const AppUninstalled
: Self = Self(32u32);
12 pub const Dnd
: Self = Self(64u32);
13 pub const DrivingMode
: Self = Self(128u32);
14 pub const BatterySaver
: Self = Self(256u32);
15 pub const Media
: Self = Self(512u32);
16 pub const CortanaTile
: Self = Self(1024u32);
17 pub const ToastCleared
: Self = Self(2048u32);
18 pub const CalendarChanged
: Self = Self(4096u32);
19 pub const VolumeChanged
: Self = Self(8192u32);
20 pub const EmailReadStatusChanged
: Self = Self(16384u32);
22 impl ::core
::marker
::Copy
for AccessoryNotificationType {}
23 impl ::core
::clone
::Clone
for AccessoryNotificationType
{
24 fn clone(&self) -> Self {
28 pub type AlarmNotificationTriggerDetails
= *mut ::core
::ffi
::c_void
;
29 pub type AppNotificationInfo
= *mut ::core
::ffi
::c_void
;
30 pub type BinaryId
= *mut ::core
::ffi
::c_void
;
31 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
33 pub struct CalendarChangedEvent(pub i32);
34 impl CalendarChangedEvent
{
35 pub const LostEvents
: Self = Self(0i32);
36 pub const AppointmentAdded
: Self = Self(1i32);
37 pub const AppointmentChanged
: Self = Self(2i32);
38 pub const AppointmentDeleted
: Self = Self(3i32);
39 pub const CalendarAdded
: Self = Self(4i32);
40 pub const CalendarChanged
: Self = Self(5i32);
41 pub const CalendarDeleted
: Self = Self(6i32);
43 impl ::core
::marker
::Copy
for CalendarChangedEvent {}
44 impl ::core
::clone
::Clone
for CalendarChangedEvent
{
45 fn clone(&self) -> Self {
49 pub type CalendarChangedNotificationTriggerDetails
= *mut ::core
::ffi
::c_void
;
50 pub type CortanaTileNotificationTriggerDetails
= *mut ::core
::ffi
::c_void
;
51 pub type EmailAccountInfo
= *mut ::core
::ffi
::c_void
;
52 pub type EmailFolderInfo
= *mut ::core
::ffi
::c_void
;
53 pub type EmailNotificationTriggerDetails
= *mut ::core
::ffi
::c_void
;
54 pub type EmailReadNotificationTriggerDetails
= *mut ::core
::ffi
::c_void
;
55 pub type IAccessoryNotificationTriggerDetails
= *mut ::core
::ffi
::c_void
;
56 pub type MediaControlsTriggerDetails
= *mut ::core
::ffi
::c_void
;
57 pub type MediaMetadata
= *mut ::core
::ffi
::c_void
;
58 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
60 pub struct PhoneCallAudioEndpoint(pub i32);
61 impl PhoneCallAudioEndpoint
{
62 pub const Default
: Self = Self(0i32);
63 pub const Speaker
: Self = Self(1i32);
64 pub const Handsfree
: Self = Self(2i32);
66 impl ::core
::marker
::Copy
for PhoneCallAudioEndpoint {}
67 impl ::core
::clone
::Clone
for PhoneCallAudioEndpoint
{
68 fn clone(&self) -> Self {
72 pub type PhoneCallDetails
= *mut ::core
::ffi
::c_void
;
73 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
75 pub struct PhoneCallDirection(pub i32);
76 impl PhoneCallDirection
{
77 pub const Incoming
: Self = Self(0i32);
78 pub const Outgoing
: Self = Self(1i32);
80 impl ::core
::marker
::Copy
for PhoneCallDirection {}
81 impl ::core
::clone
::Clone
for PhoneCallDirection
{
82 fn clone(&self) -> Self {
86 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
88 pub struct PhoneCallState(pub i32);
90 pub const Unknown
: Self = Self(0i32);
91 pub const Ringing
: Self = Self(1i32);
92 pub const Talking
: Self = Self(2i32);
93 pub const Held
: Self = Self(3i32);
94 pub const Ended
: Self = Self(4i32);
96 impl ::core
::marker
::Copy
for PhoneCallState {}
97 impl ::core
::clone
::Clone
for PhoneCallState
{
98 fn clone(&self) -> Self {
102 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
104 pub struct PhoneCallTransport(pub i32);
105 impl PhoneCallTransport
{
106 pub const Cellular
: Self = Self(0i32);
107 pub const Voip
: Self = Self(1i32);
109 impl ::core
::marker
::Copy
for PhoneCallTransport {}
110 impl ::core
::clone
::Clone
for PhoneCallTransport
{
111 fn clone(&self) -> Self {
115 pub type PhoneLineDetails
= *mut ::core
::ffi
::c_void
;
116 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
118 pub struct PhoneLineRegistrationState(pub i32);
119 impl PhoneLineRegistrationState
{
120 pub const Disconnected
: Self = Self(0i32);
121 pub const Home
: Self = Self(1i32);
122 pub const Roaming
: Self = Self(2i32);
124 impl ::core
::marker
::Copy
for PhoneLineRegistrationState {}
125 impl ::core
::clone
::Clone
for PhoneLineRegistrationState
{
126 fn clone(&self) -> Self {
130 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
132 pub struct PhoneMediaType(pub i32);
133 impl PhoneMediaType
{
134 pub const AudioOnly
: Self = Self(0i32);
135 pub const AudioVideo
: Self = Self(1i32);
137 impl ::core
::marker
::Copy
for PhoneMediaType {}
138 impl ::core
::clone
::Clone
for PhoneMediaType
{
139 fn clone(&self) -> Self {
143 pub type PhoneNotificationTriggerDetails
= *mut ::core
::ffi
::c_void
;
144 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
146 pub struct PhoneNotificationType(pub i32);
147 impl PhoneNotificationType
{
148 pub const NewCall
: Self = Self(0i32);
149 pub const CallChanged
: Self = Self(1i32);
150 pub const LineChanged
: Self = Self(2i32);
151 pub const PhoneCallAudioEndpointChanged
: Self = Self(3i32);
152 pub const PhoneMuteChanged
: Self = Self(4i32);
154 impl ::core
::marker
::Copy
for PhoneNotificationType {}
155 impl ::core
::clone
::Clone
for PhoneNotificationType
{
156 fn clone(&self) -> Self {
160 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
162 pub struct PlaybackCapability(pub u32);
163 impl PlaybackCapability
{
164 pub const None
: Self = Self(0u32);
165 pub const Play
: Self = Self(1u32);
166 pub const Pause
: Self = Self(2u32);
167 pub const Stop
: Self = Self(4u32);
168 pub const Record
: Self = Self(8u32);
169 pub const FastForward
: Self = Self(16u32);
170 pub const Rewind
: Self = Self(32u32);
171 pub const Next
: Self = Self(64u32);
172 pub const Previous
: Self = Self(128u32);
173 pub const ChannelUp
: Self = Self(256u32);
174 pub const ChannelDown
: Self = Self(512u32);
176 impl ::core
::marker
::Copy
for PlaybackCapability {}
177 impl ::core
::clone
::Clone
for PlaybackCapability
{
178 fn clone(&self) -> Self {
182 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
184 pub struct PlaybackCommand(pub i32);
185 impl PlaybackCommand
{
186 pub const Play
: Self = Self(0i32);
187 pub const Pause
: Self = Self(1i32);
188 pub const Stop
: Self = Self(2i32);
189 pub const Record
: Self = Self(3i32);
190 pub const FastForward
: Self = Self(4i32);
191 pub const Rewind
: Self = Self(5i32);
192 pub const Next
: Self = Self(6i32);
193 pub const Previous
: Self = Self(7i32);
194 pub const ChannelUp
: Self = Self(8i32);
195 pub const ChannelDown
: Self = Self(9i32);
197 impl ::core
::marker
::Copy
for PlaybackCommand {}
198 impl ::core
::clone
::Clone
for PlaybackCommand
{
199 fn clone(&self) -> Self {
203 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
205 pub struct PlaybackStatus(pub i32);
206 impl PlaybackStatus
{
207 pub const None
: Self = Self(0i32);
208 pub const TrackChanged
: Self = Self(1i32);
209 pub const Stopped
: Self = Self(2i32);
210 pub const Playing
: Self = Self(3i32);
211 pub const Paused
: Self = Self(4i32);
213 impl ::core
::marker
::Copy
for PlaybackStatus {}
214 impl ::core
::clone
::Clone
for PlaybackStatus
{
215 fn clone(&self) -> Self {
219 pub type ReminderNotificationTriggerDetails
= *mut ::core
::ffi
::c_void
;
220 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
222 pub struct ReminderState(pub i32);
224 pub const Active
: Self = Self(0i32);
225 pub const Snoozed
: Self = Self(1i32);
226 pub const Dismissed
: Self = Self(2i32);
228 impl ::core
::marker
::Copy
for ReminderState {}
229 impl ::core
::clone
::Clone
for ReminderState
{
230 fn clone(&self) -> Self {
234 pub type SpeedDialEntry
= *mut ::core
::ffi
::c_void
;
235 pub type TextResponse
= *mut ::core
::ffi
::c_void
;
236 pub type ToastNotificationTriggerDetails
= *mut ::core
::ffi
::c_void
;
237 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
239 pub struct VibrateState(pub i32);
241 pub const RingerOffVibrateOff
: Self = Self(0i32);
242 pub const RingerOffVibrateOn
: Self = Self(1i32);
243 pub const RingerOnVibrateOff
: Self = Self(2i32);
244 pub const RingerOnVibrateOn
: Self = Self(3i32);
246 impl ::core
::marker
::Copy
for VibrateState {}
247 impl ::core
::clone
::Clone
for VibrateState
{
248 fn clone(&self) -> Self {
252 pub type VolumeInfo
= *mut ::core
::ffi
::c_void
;