Debian Codegraph @

mingw-w64-headers/include/windows.ui.notifications.idl

raw
1 /*
2 * Copyright (C) 2024 Biswapriyo Nath
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19 #ifdef __WIDL__
20 #pragma winrt ns_prefix
21 #endif
22
23 import "inspectable.idl";
24 import "asyncinfo.idl";
25 import "eventtoken.idl";
26 import "windowscontracts.idl";
27 import "windows.foundation.idl";
28 import "windows.applicationmodel.idl";
29 import "windows.data.xml.dom.idl";
30 import "windows.system.idl";
31
32 namespace Windows.UI.Notifications {
33 typedef enum AdaptiveNotificationContentKind AdaptiveNotificationContentKind;
34 typedef enum BadgeTemplateType BadgeTemplateType;
35 typedef enum NotificationKinds NotificationKinds;
36 typedef enum NotificationMirroring NotificationMirroring;
37 typedef enum NotificationSetting NotificationSetting;
38 typedef enum NotificationUpdateResult NotificationUpdateResult;
39 typedef enum PeriodicUpdateRecurrence PeriodicUpdateRecurrence;
40 typedef enum TileFlyoutTemplateType TileFlyoutTemplateType;
41 typedef enum TileTemplateType TileTemplateType;
42 typedef enum ToastDismissalReason ToastDismissalReason;
43 typedef enum ToastHistoryChangedType ToastHistoryChangedType;
44 typedef enum ToastNotificationMode ToastNotificationMode;
45 typedef enum ToastNotificationPriority ToastNotificationPriority;
46 typedef enum ToastTemplateType ToastTemplateType;
47 typedef enum UserNotificationChangedKind UserNotificationChangedKind;
48
49 interface IAdaptiveNotificationContent;
50 interface IAdaptiveNotificationText;
51 interface IBadgeNotification;
52 interface IBadgeNotificationFactory;
53 interface IBadgeUpdateManagerForUser;
54 interface IBadgeUpdateManagerStatics;
55 interface IBadgeUpdateManagerStatics2;
56 interface IBadgeUpdater;
57 interface IKnownAdaptiveNotificationHintsStatics;
58 interface IKnownAdaptiveNotificationTextStylesStatics;
59 interface IKnownNotificationBindingsStatics;
60 interface INotification;
61 interface INotificationBinding;
62 interface INotificationData;
63 interface INotificationDataFactory;
64 interface INotificationVisual;
65 interface IScheduledTileNotification;
66 interface IScheduledTileNotificationFactory;
67 interface IScheduledToastNotification;
68 interface IScheduledToastNotification2;
69 interface IScheduledToastNotification3;
70 interface IScheduledToastNotification4;
71 interface IScheduledToastNotificationFactory;
72 interface IScheduledToastNotificationShowingEventArgs;
73 interface IShownTileNotification;
74 interface ITileFlyoutNotification;
75 interface ITileFlyoutNotificationFactory;
76 interface ITileFlyoutUpdateManagerStatics;
77 interface ITileFlyoutUpdater;
78 interface ITileNotification;
79 interface ITileNotificationFactory;
80 interface ITileUpdateManagerForUser;
81 interface ITileUpdateManagerStatics;
82 interface ITileUpdateManagerStatics2;
83 interface ITileUpdater;
84 interface ITileUpdater2;
85 interface IToastActivatedEventArgs;
86 interface IToastActivatedEventArgs2;
87 interface IToastCollection;
88 interface IToastCollectionFactory;
89 interface IToastCollectionManager;
90 interface IToastDismissedEventArgs;
91 interface IToastFailedEventArgs;
92 interface IToastNotification;
93 interface IToastNotification2;
94 interface IToastNotification3;
95 interface IToastNotification4;
96 interface IToastNotification6;
97 interface IToastNotificationActionTriggerDetail;
98 interface IToastNotificationFactory;
99 interface IToastNotificationHistory;
100 interface IToastNotificationHistory2;
101 interface IToastNotificationHistoryChangedTriggerDetail;
102 interface IToastNotificationHistoryChangedTriggerDetail2;
103 interface IToastNotificationManagerForUser;
104 interface IToastNotificationManagerForUser2;
105 interface IToastNotificationManagerForUser3;
106 interface IToastNotificationManagerStatics;
107 interface IToastNotificationManagerStatics2;
108 interface IToastNotificationManagerStatics4;
109 interface IToastNotificationManagerStatics5;
110 interface IToastNotifier;
111 interface IToastNotifier2;
112 interface IToastNotifier3;
113 interface IUserNotification;
114 interface IUserNotificationChangedEventArgs;
115
116 runtimeclass AdaptiveNotificationText;
117 runtimeclass BadgeNotification;
118 runtimeclass BadgeUpdateManager;
119 runtimeclass BadgeUpdateManagerForUser;
120 runtimeclass BadgeUpdater;
121 runtimeclass KnownAdaptiveNotificationHints;
122 runtimeclass KnownAdaptiveNotificationTextStyles;
123 runtimeclass KnownNotificationBindings;
124 runtimeclass Notification;
125 runtimeclass NotificationBinding;
126 runtimeclass NotificationData;
127 runtimeclass NotificationVisual;
128 runtimeclass ScheduledTileNotification;
129 runtimeclass ScheduledToastNotification;
130 runtimeclass ScheduledToastNotificationShowingEventArgs;
131 runtimeclass ShownTileNotification;
132 runtimeclass TileFlyoutNotification;
133 runtimeclass TileFlyoutUpdateManager;
134 runtimeclass TileFlyoutUpdater;
135 runtimeclass TileNotification;
136 runtimeclass TileUpdateManager;
137 runtimeclass TileUpdateManagerForUser;
138 runtimeclass TileUpdater;
139 runtimeclass ToastActivatedEventArgs;
140 runtimeclass ToastCollection;
141 runtimeclass ToastCollectionManager;
142 runtimeclass ToastDismissedEventArgs;
143 runtimeclass ToastFailedEventArgs;
144 runtimeclass ToastNotification;
145 runtimeclass ToastNotificationActionTriggerDetail;
146 runtimeclass ToastNotificationHistory;
147 runtimeclass ToastNotificationHistoryChangedTriggerDetail;
148 runtimeclass ToastNotificationManager;
149 runtimeclass ToastNotificationManagerForUser;
150 runtimeclass ToastNotifier;
151 runtimeclass UserNotification;
152 runtimeclass UserNotificationChangedEventArgs;
153
154 declare {
155 interface Windows.Foundation.Collections.IIterable<Windows.UI.Notifications.AdaptiveNotificationText *>;
156 interface Windows.Foundation.Collections.IIterable<Windows.UI.Notifications.NotificationBinding *>;
157 interface Windows.Foundation.Collections.IIterable<Windows.UI.Notifications.ScheduledTileNotification *>;
158 interface Windows.Foundation.Collections.IIterable<Windows.UI.Notifications.ScheduledToastNotification *>;
159 interface Windows.Foundation.Collections.IIterable<Windows.UI.Notifications.ShownTileNotification *>;
160 interface Windows.Foundation.Collections.IIterable<Windows.UI.Notifications.ToastCollection *>;
161 interface Windows.Foundation.Collections.IIterable<Windows.UI.Notifications.ToastNotification *>;
162 interface Windows.Foundation.Collections.IIterable<Windows.UI.Notifications.UserNotification *>;
163 interface Windows.Foundation.Collections.IIterator<Windows.UI.Notifications.AdaptiveNotificationText *>;
164 interface Windows.Foundation.Collections.IIterator<Windows.UI.Notifications.NotificationBinding *>;
165 interface Windows.Foundation.Collections.IIterator<Windows.UI.Notifications.ScheduledTileNotification *>;
166 interface Windows.Foundation.Collections.IIterator<Windows.UI.Notifications.ScheduledToastNotification *>;
167 interface Windows.Foundation.Collections.IIterator<Windows.UI.Notifications.ShownTileNotification *>;
168 interface Windows.Foundation.Collections.IIterator<Windows.UI.Notifications.ToastCollection *>;
169 interface Windows.Foundation.Collections.IIterator<Windows.UI.Notifications.ToastNotification *>;
170 interface Windows.Foundation.Collections.IIterator<Windows.UI.Notifications.UserNotification *>;
171 interface Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.AdaptiveNotificationText *>;
172 interface Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.NotificationBinding *>;
173 interface Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ScheduledTileNotification *>;
174 interface Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ScheduledToastNotification *>;
175 interface Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ShownTileNotification *>;
176 interface Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ToastCollection *>;
177 interface Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ToastNotification *>;
178 interface Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.UserNotification *>;
179 interface Windows.Foundation.Collections.IVector<Windows.UI.Notifications.NotificationBinding *>;
180 interface Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ToastCollection *> *>;
181 interface Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.UserNotification *> *>;
182 interface Windows.Foundation.IAsyncOperation<Windows.UI.Notifications.ToastCollection *>;
183 interface Windows.Foundation.IAsyncOperation<Windows.UI.Notifications.ToastNotificationHistory *>;
184 interface Windows.Foundation.IAsyncOperation<Windows.UI.Notifications.ToastNotifier *>;
185 interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ToastCollection *> *>;
186 interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.UserNotification *> *>;
187 interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.UI.Notifications.ToastCollection *>;
188 interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.UI.Notifications.ToastNotificationHistory *>;
189 interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.UI.Notifications.ToastNotifier *>;
190 interface Windows.Foundation.TypedEventHandler<Windows.UI.Notifications.ToastNotification *, IInspectable *>;
191 interface Windows.Foundation.TypedEventHandler<Windows.UI.Notifications.ToastNotification *, Windows.UI.Notifications.ToastDismissedEventArgs *>;
192 interface Windows.Foundation.TypedEventHandler<Windows.UI.Notifications.ToastNotification *, Windows.UI.Notifications.ToastFailedEventArgs *>;
193 interface Windows.Foundation.TypedEventHandler<Windows.UI.Notifications.ToastNotificationManagerForUser *, IInspectable *>;
194 interface Windows.Foundation.TypedEventHandler<Windows.UI.Notifications.ToastNotifier *, Windows.UI.Notifications.ScheduledToastNotificationShowingEventArgs *>;
195 }
196
197 [
198 contract(Windows.Foundation.UniversalApiContract, 3.0)
199 ]
200 enum AdaptiveNotificationContentKind
201 {
202 Text = 0,
203 };
204
205 [
206 contract(Windows.Foundation.UniversalApiContract, 1.0)
207 ]
208 enum BadgeTemplateType
209 {
210 BadgeGlyph = 0,
211 BadgeNumber = 1,
212 };
213
214 [
215 contract(Windows.Foundation.UniversalApiContract, 3.0),
216 flags
217 ]
218 enum NotificationKinds
219 {
220 Unknown = 0x0,
221 Toast = 0x1,
222 };
223
224 [
225 contract(Windows.Foundation.UniversalApiContract, 3.0)
226 ]
227 enum NotificationMirroring
228 {
229 Allowed = 0,
230 Disabled = 1,
231 };
232
233 [
234 contract(Windows.Foundation.UniversalApiContract, 1.0)
235 ]
236 enum NotificationSetting
237 {
238 Enabled = 0,
239 DisabledForApplication = 1,
240 DisabledForUser = 2,
241 DisabledByGroupPolicy = 3,
242 DisabledByManifest = 4,
243 };
244
245 [
246 contract(Windows.Foundation.UniversalApiContract, 4.0)
247 ]
248 enum NotificationUpdateResult
249 {
250 Succeeded = 0,
251 Failed = 1,
252 NotificationNotFound = 2,
253 };
254
255 [
256 contract(Windows.Foundation.UniversalApiContract, 1.0)
257 ]
258 enum PeriodicUpdateRecurrence
259 {
260 HalfHour = 0,
261 Hour = 1,
262 SixHours = 2,
263 TwelveHours = 3,
264 Daily = 4,
265 };
266
267 [
268 contract(Windows.Foundation.UniversalApiContract, 1.0)
269 ]
270 enum TileFlyoutTemplateType
271 {
272 TileFlyoutTemplate01 = 0,
273 };
274
275 [
276 contract(Windows.Foundation.UniversalApiContract, 1.0)
277 ]
278 enum TileTemplateType
279 {
280 TileSquareImage = 0,
281 TileSquareBlock = 1,
282 TileSquareText01 = 2,
283 TileSquareText02 = 3,
284 TileSquareText03 = 4,
285 TileSquareText04 = 5,
286 TileSquarePeekImageAndText01 = 6,
287 TileSquarePeekImageAndText02 = 7,
288 TileSquarePeekImageAndText03 = 8,
289 TileSquarePeekImageAndText04 = 9,
290 TileWideImage = 10,
291 TileWideImageCollection = 11,
292 TileWideImageAndText01 = 12,
293 TileWideImageAndText02 = 13,
294 TileWideBlockAndText01 = 14,
295 TileWideBlockAndText02 = 15,
296 TileWidePeekImageCollection01 = 16,
297 TileWidePeekImageCollection02 = 17,
298 TileWidePeekImageCollection03 = 18,
299 TileWidePeekImageCollection04 = 19,
300 TileWidePeekImageCollection05 = 20,
301 TileWidePeekImageCollection06 = 21,
302 TileWidePeekImageAndText01 = 22,
303 TileWidePeekImageAndText02 = 23,
304 TileWidePeekImage01 = 24,
305 TileWidePeekImage02 = 25,
306 TileWidePeekImage03 = 26,
307 TileWidePeekImage04 = 27,
308 TileWidePeekImage05 = 28,
309 TileWidePeekImage06 = 29,
310 TileWideSmallImageAndText01 = 30,
311 TileWideSmallImageAndText02 = 31,
312 TileWideSmallImageAndText03 = 32,
313 TileWideSmallImageAndText04 = 33,
314 TileWideSmallImageAndText05 = 34,
315 TileWideText01 = 35,
316 TileWideText02 = 36,
317 TileWideText03 = 37,
318 TileWideText04 = 38,
319 TileWideText05 = 39,
320 TileWideText06 = 40,
321 TileWideText07 = 41,
322 TileWideText08 = 42,
323 TileWideText09 = 43,
324 TileWideText10 = 44,
325 TileWideText11 = 45,
326 TileSquare150x150Image = 0,
327 TileSquare150x150Block = 1,
328 TileSquare150x150Text01 = 2,
329 TileSquare150x150Text02 = 3,
330 TileSquare150x150Text03 = 4,
331 TileSquare150x150Text04 = 5,
332 TileSquare150x150PeekImageAndText01 = 6,
333 TileSquare150x150PeekImageAndText02 = 7,
334 TileSquare150x150PeekImageAndText03 = 8,
335 TileSquare150x150PeekImageAndText04 = 9,
336 TileWide310x150Image = 10,
337 TileWide310x150ImageCollection = 11,
338 TileWide310x150ImageAndText01 = 12,
339 TileWide310x150ImageAndText02 = 13,
340 TileWide310x150BlockAndText01 = 14,
341 TileWide310x150BlockAndText02 = 15,
342 TileWide310x150PeekImageCollection01 = 16,
343 TileWide310x150PeekImageCollection02 = 17,
344 TileWide310x150PeekImageCollection03 = 18,
345 TileWide310x150PeekImageCollection04 = 19,
346 TileWide310x150PeekImageCollection05 = 20,
347 TileWide310x150PeekImageCollection06 = 21,
348 TileWide310x150PeekImageAndText01 = 22,
349 TileWide310x150PeekImageAndText02 = 23,
350 TileWide310x150PeekImage01 = 24,
351 TileWide310x150PeekImage02 = 25,
352 TileWide310x150PeekImage03 = 26,
353 TileWide310x150PeekImage04 = 27,
354 TileWide310x150PeekImage05 = 28,
355 TileWide310x150PeekImage06 = 29,
356 TileWide310x150SmallImageAndText01 = 30,
357 TileWide310x150SmallImageAndText02 = 31,
358 TileWide310x150SmallImageAndText03 = 32,
359 TileWide310x150SmallImageAndText04 = 33,
360 TileWide310x150SmallImageAndText05 = 34,
361 TileWide310x150Text01 = 35,
362 TileWide310x150Text02 = 36,
363 TileWide310x150Text03 = 37,
364 TileWide310x150Text04 = 38,
365 TileWide310x150Text05 = 39,
366 TileWide310x150Text06 = 40,
367 TileWide310x150Text07 = 41,
368 TileWide310x150Text08 = 42,
369 TileWide310x150Text09 = 43,
370 TileWide310x150Text10 = 44,
371 TileWide310x150Text11 = 45,
372 TileSquare310x310BlockAndText01 = 46,
373 TileSquare310x310BlockAndText02 = 47,
374 TileSquare310x310Image = 48,
375 TileSquare310x310ImageAndText01 = 49,
376 TileSquare310x310ImageAndText02 = 50,
377 TileSquare310x310ImageAndTextOverlay01 = 51,
378 TileSquare310x310ImageAndTextOverlay02 = 52,
379 TileSquare310x310ImageAndTextOverlay03 = 53,
380 TileSquare310x310ImageCollectionAndText01 = 54,
381 TileSquare310x310ImageCollectionAndText02 = 55,
382 TileSquare310x310ImageCollection = 56,
383 TileSquare310x310SmallImagesAndTextList01 = 57,
384 TileSquare310x310SmallImagesAndTextList02 = 58,
385 TileSquare310x310SmallImagesAndTextList03 = 59,
386 TileSquare310x310SmallImagesAndTextList04 = 60,
387 TileSquare310x310Text01 = 61,
388 TileSquare310x310Text02 = 62,
389 TileSquare310x310Text03 = 63,
390 TileSquare310x310Text04 = 64,
391 TileSquare310x310Text05 = 65,
392 TileSquare310x310Text06 = 66,
393 TileSquare310x310Text07 = 67,
394 TileSquare310x310Text08 = 68,
395 TileSquare310x310TextList01 = 69,
396 TileSquare310x310TextList02 = 70,
397 TileSquare310x310TextList03 = 71,
398 TileSquare310x310SmallImageAndText01 = 72,
399 TileSquare310x310SmallImagesAndTextList05 = 73,
400 TileSquare310x310Text09 = 74,
401 TileSquare71x71IconWithBadge = 75,
402 TileSquare150x150IconWithBadge = 76,
403 TileWide310x150IconWithBadgeAndText = 77,
404 TileSquare71x71Image = 78,
405 TileTall150x310Image = 79,
406 };
407
408 [
409 contract(Windows.Foundation.UniversalApiContract, 1.0)
410 ]
411 enum ToastDismissalReason
412 {
413 UserCanceled = 0,
414 ApplicationHidden = 1,
415 TimedOut = 2,
416 };
417
418 [
419 contract(Windows.Foundation.UniversalApiContract, 1.0)
420 ]
421 enum ToastHistoryChangedType
422 {
423 Cleared = 0,
424 Removed = 1,
425 Expired = 2,
426 Added = 3,
427 };
428
429 [
430 contract(Windows.Foundation.UniversalApiContract, 15.0)
431 ]
432 enum ToastNotificationMode
433 {
434 Unrestricted = 0,
435 PriorityOnly = 1,
436 AlarmsOnly = 2,
437 };
438
439 [
440 contract(Windows.Foundation.UniversalApiContract, 4.0)
441 ]
442 enum ToastNotificationPriority
443 {
444 Default = 0,
445 High = 1,
446 };
447
448 [
449 contract(Windows.Foundation.UniversalApiContract, 1.0)
450 ]
451 enum ToastTemplateType
452 {
453 ToastImageAndText01 = 0,
454 ToastImageAndText02 = 1,
455 ToastImageAndText03 = 2,
456 ToastImageAndText04 = 3,
457 ToastText01 = 4,
458 ToastText02 = 5,
459 ToastText03 = 6,
460 ToastText04 = 7,
461 };
462
463 [
464 contract(Windows.Foundation.UniversalApiContract, 3.0)
465 ]
466 enum UserNotificationChangedKind
467 {
468 Added = 0,
469 Removed = 1,
470 };
471
472 [
473 contract(Windows.Foundation.UniversalApiContract, 3.0),
474 uuid(eb0dbe66-7448-448d-9db8-d78acd2abba9)
475 ]
476 interface IAdaptiveNotificationContent : IInspectable
477 {
478 [propget] HRESULT Kind([out, retval] Windows.UI.Notifications.AdaptiveNotificationContentKind *value);
479 [propget] HRESULT Hints([out, retval] Windows.Foundation.Collections.IMap<HSTRING, HSTRING> **value);
480 }
481
482 [
483 contract(Windows.Foundation.UniversalApiContract, 3.0),
484 exclusiveto(Windows.UI.Notifications.AdaptiveNotificationText),
485 uuid(46d4a3be-609a-4326-a40b-bfde872034a3)
486 ]
487 interface IAdaptiveNotificationText : IInspectable
488 {
489 [propget] HRESULT Text([out, retval] HSTRING *value);
490 [propput] HRESULT Text([in] HSTRING value);
491 [propget] HRESULT Language([out, retval] HSTRING *value);
492 [propput] HRESULT Language([in] HSTRING value);
493 }
494
495 [
496 contract(Windows.Foundation.UniversalApiContract, 1.0),
497 exclusiveto(Windows.UI.Notifications.BadgeNotification),
498 uuid(075cb4ca-d08a-4e2f-9233-7e289c1f7722)
499 ]
500 interface IBadgeNotification : IInspectable
501 {
502 [propget] HRESULT Content([out, retval] Windows.Data.Xml.Dom.XmlDocument **value);
503 [propput] HRESULT ExpirationTime([in] Windows.Foundation.IReference<Windows.Foundation.DateTime> *value);
504 [propget] HRESULT ExpirationTime([out, retval] Windows.Foundation.IReference<Windows.Foundation.DateTime> **value);
505 }
506
507 [
508 contract(Windows.Foundation.UniversalApiContract, 1.0),
509 exclusiveto(Windows.UI.Notifications.BadgeNotification),
510 uuid(edf255ce-0618-4d59-948a-5a61040c52f9)
511 ]
512 interface IBadgeNotificationFactory : IInspectable
513 {
514 HRESULT CreateBadgeNotification(
515 [in] Windows.Data.Xml.Dom.XmlDocument *content,
516 [out, retval] Windows.UI.Notifications.BadgeNotification **value);
517 }
518
519 [
520 contract(Windows.Foundation.UniversalApiContract, 3.0),
521 exclusiveto(Windows.UI.Notifications.BadgeUpdateManagerForUser),
522 uuid(996b21bc-0386-44e5-ba8d-0c1077a62e92)
523 ]
524 interface IBadgeUpdateManagerForUser : IInspectable
525 {
526 [overload("CreateBadgeUpdaterForApplication")] HRESULT CreateBadgeUpdaterForApplication([out, retval] Windows.UI.Notifications.BadgeUpdater **result);
527 [overload("CreateBadgeUpdaterForApplication")] HRESULT CreateBadgeUpdaterForApplicationWithId([in] HSTRING application_id, [out, retval] Windows.UI.Notifications.BadgeUpdater **result);
528 HRESULT CreateBadgeUpdaterForSecondaryTile([in] HSTRING tile_id, [out, retval] Windows.UI.Notifications.BadgeUpdater **result);
529 [propget] HRESULT User([out, retval] Windows.System.User **value);
530 }
531
532 [
533 contract(Windows.Foundation.UniversalApiContract, 1.0),
534 exclusiveto(Windows.UI.Notifications.BadgeUpdateManager),
535 uuid(33400faa-6dd5-4105-aebc-9b50fca492da)
536 ]
537 interface IBadgeUpdateManagerStatics : IInspectable
538 {
539 [overload("CreateBadgeUpdaterForApplication")] HRESULT CreateBadgeUpdaterForApplication([out, retval] Windows.UI.Notifications.BadgeUpdater **result);
540 [overload("CreateBadgeUpdaterForApplication")] HRESULT CreateBadgeUpdaterForApplicationWithId([in] HSTRING application_id, [out, retval] Windows.UI.Notifications.BadgeUpdater **result);
541 HRESULT CreateBadgeUpdaterForSecondaryTile([in] HSTRING tile_id, [out, retval] Windows.UI.Notifications.BadgeUpdater **result);
542 HRESULT GetTemplateContent([in] Windows.UI.Notifications.BadgeTemplateType type, [out, retval] Windows.Data.Xml.Dom.XmlDocument **result);
543 }
544
545 [
546 contract(Windows.Foundation.UniversalApiContract, 3.0),
547 exclusiveto(Windows.UI.Notifications.BadgeUpdateManager),
548 uuid(979a35ce-f940-48bf-94e8-ca244d400b41)
549 ]
550 interface IBadgeUpdateManagerStatics2 : IInspectable
551 {
552 HRESULT GetForUser([in] Windows.System.User *user, [out, retval] Windows.UI.Notifications.BadgeUpdateManagerForUser **result);
553 }
554
555 [
556 contract(Windows.Foundation.UniversalApiContract, 1.0),
557 exclusiveto(Windows.UI.Notifications.BadgeUpdater),
558 uuid(b5fa1fd4-7562-4f6c-bfa3-1b6ed2e57f2f)
559 ]
560 interface IBadgeUpdater : IInspectable
561 {
562 HRESULT Update([in] Windows.UI.Notifications.BadgeNotification *notification);
563 HRESULT Clear();
564 [overload("StartPeriodicUpdate")] HRESULT StartPeriodicUpdate(
565 [in] Windows.Foundation.Uri *badge_content,
566 [in] Windows.UI.Notifications.PeriodicUpdateRecurrence requested_interval);
567 [overload("StartPeriodicUpdate")] HRESULT StartPeriodicUpdateAtTime(
568 [in] Windows.Foundation.Uri *badge_content,
569 [in] Windows.Foundation.DateTime start_time,
570 [in] Windows.UI.Notifications.PeriodicUpdateRecurrence requested_interval);
571 HRESULT StopPeriodicUpdate();
572 }
573
574 [
575 contract(Windows.Foundation.UniversalApiContract, 3.0),
576 exclusiveto(Windows.UI.Notifications.KnownAdaptiveNotificationHints),
577 uuid(06206598-d496-497d-8692-4f7d7c2770df)
578 ]
579 interface IKnownAdaptiveNotificationHintsStatics : IInspectable
580 {
581 [propget] HRESULT Style([out, retval] HSTRING *value);
582 [propget] HRESULT Wrap([out, retval] HSTRING *value);
583 [propget] HRESULT MaxLines([out, retval] HSTRING *value);
584 [propget] HRESULT MinLines([out, retval] HSTRING *value);
585 [propget] HRESULT TextStacking([out, retval] HSTRING *value);
586 [propget] HRESULT Align([out, retval] HSTRING *value);
587 }
588
589 [
590 contract(Windows.Foundation.UniversalApiContract, 3.0),
591 exclusiveto(Windows.UI.Notifications.KnownAdaptiveNotificationTextStyles),
592 uuid(202192d7-8996-45aa-8ba1-d461d72c2a1b)
593 ]
594 interface IKnownAdaptiveNotificationTextStylesStatics : IInspectable
595 {
596 [propget] HRESULT Caption([out, retval] HSTRING *value);
597 [propget] HRESULT Body([out, retval] HSTRING *value);
598 [propget] HRESULT Base([out, retval] HSTRING *value);
599 [propget] HRESULT Subtitle([out, retval] HSTRING *value);
600 [propget] HRESULT Title([out, retval] HSTRING *value);
601 [propget] HRESULT Subheader([out, retval] HSTRING *value);
602 [propget] HRESULT Header([out, retval] HSTRING *value);
603 [propget] HRESULT TitleNumeral([out, retval] HSTRING *value);
604 [propget] HRESULT SubheaderNumeral([out, retval] HSTRING *value);
605 [propget] HRESULT HeaderNumeral([out, retval] HSTRING *value);
606 [propget] HRESULT CaptionSubtle([out, retval] HSTRING *value);
607 [propget] HRESULT BodySubtle([out, retval] HSTRING *value);
608 [propget] HRESULT BaseSubtle([out, retval] HSTRING *value);
609 [propget] HRESULT SubtitleSubtle([out, retval] HSTRING *value);
610 [propget] HRESULT TitleSubtle([out, retval] HSTRING *value);
611 [propget] HRESULT SubheaderSubtle([out, retval] HSTRING *value);
612 [propget] HRESULT SubheaderNumeralSubtle([out, retval] HSTRING *value);
613 [propget] HRESULT HeaderSubtle([out, retval] HSTRING *value);
614 [propget] HRESULT HeaderNumeralSubtle([out, retval] HSTRING *value);
615 }
616
617 [
618 contract(Windows.Foundation.UniversalApiContract, 3.0),
619 exclusiveto(Windows.UI.Notifications.KnownNotificationBindings),
620 uuid(79427bae-a8b7-4d58-89ea-76a7b7bccded)
621 ]
622 interface IKnownNotificationBindingsStatics : IInspectable
623 {
624 [propget] HRESULT ToastGeneric([out, retval] HSTRING *value);
625 }
626
627 [
628 contract(Windows.Foundation.UniversalApiContract, 3.0),
629 exclusiveto(Windows.UI.Notifications.Notification),
630 uuid(108037fe-eb76-4f82-97bc-da07530a2e20)
631 ]
632 interface INotification : IInspectable
633 {
634 [propget] HRESULT ExpirationTime([out, retval] Windows.Foundation.IReference<Windows.Foundation.DateTime> **value);
635 [propput] HRESULT ExpirationTime([in] Windows.Foundation.IReference<Windows.Foundation.DateTime> *value);
636 [propget] HRESULT Visual([out, retval] Windows.UI.Notifications.NotificationVisual **value);
637 [propput] HRESULT Visual([in] Windows.UI.Notifications.NotificationVisual *value);
638 }
639
640 [
641 contract(Windows.Foundation.UniversalApiContract, 3.0),
642 exclusiveto(Windows.UI.Notifications.NotificationBinding),
643 uuid(F29E4B85-0370-4AD3-B4EA-DA9E35E7EABF)
644 ]
645 interface INotificationBinding : IInspectable
646 {
647 [propget] HRESULT Template([out, retval] HSTRING *value);
648 [propput] HRESULT Template([in] HSTRING value);
649 [propget] HRESULT Language([out, retval] HSTRING *value);
650 [propput] HRESULT Language([in] HSTRING value);
651 [propget] HRESULT Hints([out, retval] Windows.Foundation.Collections.IMap<HSTRING, HSTRING> **value);
652 HRESULT GetTextElements([out, retval] Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.AdaptiveNotificationText *> **result);
653 }
654
655 [
656 contract(Windows.Foundation.UniversalApiContract, 4.0),
657 exclusiveto(Windows.UI.Notifications.NotificationData),
658 uuid(9ffd2312-9d6a-4aaf-b6ac-ff17f0c1f280)
659 ]
660 interface INotificationData : IInspectable
661 {
662 [propget] HRESULT Values([out, retval] Windows.Foundation.Collections.IMap<HSTRING, HSTRING> **value);
663 [propget] HRESULT SequenceNumber([out, retval] UINT32 *value);
664 [propput] HRESULT SequenceNumber([in] UINT32 value);
665 }
666
667 [
668 contract(Windows.Foundation.UniversalApiContract, 4.0),
669 exclusiveto(Windows.UI.Notifications.NotificationData),
670 uuid(23c1e33a-1c10-46fb-8040-dec384621cf8)
671 ]
672 interface INotificationDataFactory : IInspectable
673 {
674 [overload("CreateNotificationData")] HRESULT CreateNotificationDataWithValuesAndSequenceNumber(
675 [in] Windows.Foundation.Collections.IIterable<Windows.Foundation.Collections.IKeyValuePair<HSTRING, HSTRING> *> *initial_values,
676 [in] UINT32 sequence_number,
677 [out, retval] Windows.UI.Notifications.NotificationData **value);
678 [overload("CreateNotificationData")] HRESULT CreateNotificationDataWithValues(
679 [in] Windows.Foundation.Collections.IIterable<Windows.Foundation.Collections.IKeyValuePair<HSTRING, HSTRING> *> *initial_values,
680 [out, retval] Windows.UI.Notifications.NotificationData **value);
681 }
682
683 [
684 contract(Windows.Foundation.UniversalApiContract, 3.0),
685 exclusiveto(Windows.UI.Notifications.NotificationVisual),
686 uuid(68835b8e-aa56-4e11-86d3-5f9a6957bc5b)
687 ]
688 interface INotificationVisual : IInspectable
689 {
690 [propget] HRESULT Language([out, retval] HSTRING *value);
691 [propput] HRESULT Language([in] HSTRING value);
692 [propget] HRESULT Bindings([out, retval] Windows.Foundation.Collections.IVector<Windows.UI.Notifications.NotificationBinding *> **value);
693 HRESULT GetBinding([in] HSTRING template_name, [out, retval] Windows.UI.Notifications.NotificationBinding **result);
694 }
695
696 [
697 contract(Windows.Foundation.UniversalApiContract, 1.0),
698 exclusiveto(Windows.UI.Notifications.ScheduledTileNotification),
699 uuid(0abca6d5-99dc-4c78-a11c-c9e7f86d7ef7)
700 ]
701 interface IScheduledTileNotification : IInspectable
702 {
703 [propget] HRESULT Content([out, retval] Windows.Data.Xml.Dom.XmlDocument **value);
704 [propget] HRESULT DeliveryTime([out, retval] Windows.Foundation.DateTime *value);
705 [propput] HRESULT ExpirationTime([in] Windows.Foundation.IReference<Windows.Foundation.DateTime> *value);
706 [propget] HRESULT ExpirationTime([out, retval] Windows.Foundation.IReference<Windows.Foundation.DateTime> **value);
707 [propput] HRESULT Tag([in] HSTRING value);
708 [propget] HRESULT Tag([out, retval] HSTRING *value);
709 [propput] HRESULT Id([in] HSTRING value);
710 [propget] HRESULT Id([out, retval] HSTRING *value);
711 }
712
713 [
714 contract(Windows.Foundation.UniversalApiContract, 1.0),
715 exclusiveto(Windows.UI.Notifications.ScheduledTileNotification),
716 uuid(3383138a-98c0-4c3b-bbd6-4a633c7cfc29)
717 ]
718 interface IScheduledTileNotificationFactory : IInspectable
719 {
720 HRESULT CreateScheduledTileNotification(
721 [in] Windows.Data.Xml.Dom.XmlDocument *content,
722 [in] Windows.Foundation.DateTime delivery_time,
723 [out, retval] Windows.UI.Notifications.ScheduledTileNotification **value);
724 }
725
726 [
727 contract(Windows.Foundation.UniversalApiContract, 1.0),
728 exclusiveto(Windows.UI.Notifications.ScheduledToastNotification),
729 uuid(79F577F8-0DE7-48CD-9740-9B370490C838)
730 ]
731 interface IScheduledToastNotification : IInspectable
732 {
733 [propget] HRESULT Content([out, retval] Windows.Data.Xml.Dom.XmlDocument **value);
734 [propget] HRESULT DeliveryTime([out, retval] Windows.Foundation.DateTime *value);
735 [propget] HRESULT SnoozeInterval([out, retval] Windows.Foundation.IReference<Windows.Foundation.TimeSpan> **value);
736 [propget] HRESULT MaximumSnoozeCount([out, retval] UINT32 *value);
737 [propput] HRESULT Id([in] HSTRING value);
738 [propget] HRESULT Id([out, retval] HSTRING *value);
739 }
740
741 [
742 contract(Windows.Foundation.UniversalApiContract, 1.0),
743 exclusiveto(Windows.UI.Notifications.ScheduledToastNotification),
744 uuid(a66ea09c-31b4-43b0-b5dd-7a40e85363b1)
745 ]
746 interface IScheduledToastNotification2 : IInspectable
747 {
748 [propput] HRESULT Tag([in] HSTRING value);
749 [propget] HRESULT Tag([out, retval] HSTRING *value);
750 [propput] HRESULT Group([in] HSTRING value);
751 [propget] HRESULT Group([out, retval] HSTRING *value);
752 [propput] HRESULT SuppressPopup([in] boolean value);
753 [propget] HRESULT SuppressPopup([out, retval] boolean *value);
754 }
755
756 [
757 contract(Windows.Foundation.UniversalApiContract, 3.0),
758 exclusiveto(Windows.UI.Notifications.ScheduledToastNotification),
759 uuid(98429e8b-bd32-4a3b-9d15-22aea49462a1)
760 ]
761 interface IScheduledToastNotification3 : IInspectable
762 {
763 [propget] HRESULT NotificationMirroring([out, retval] Windows.UI.Notifications.NotificationMirroring *value);
764 [propput] HRESULT NotificationMirroring([in] Windows.UI.Notifications.NotificationMirroring value);
765 [propget] HRESULT RemoteId([out, retval] HSTRING *value);
766 [propput] HRESULT RemoteId([in] HSTRING value);
767 }
768
769 [
770 contract(Windows.Foundation.UniversalApiContract, 6.0),
771 exclusiveto(Windows.UI.Notifications.ScheduledToastNotification),
772 uuid(1d4761fd-bdef-4e4a-96be-0101369b58d2)
773 ]
774 interface IScheduledToastNotification4 : IInspectable
775 {
776 [propget] HRESULT ExpirationTime([out, retval] Windows.Foundation.IReference<Windows.Foundation.DateTime> **value);
777 [propput] HRESULT ExpirationTime([in] Windows.Foundation.IReference<Windows.Foundation.DateTime> *value);
778 }
779
780 [
781 contract(Windows.Foundation.UniversalApiContract, 1.0),
782 exclusiveto(Windows.UI.Notifications.ScheduledToastNotification),
783 uuid(e7bed191-0bb9-4189-8394-31761b476fd7)
784 ]
785 interface IScheduledToastNotificationFactory : IInspectable
786 {
787 HRESULT CreateScheduledToastNotification(
788 [in] Windows.Data.Xml.Dom.XmlDocument *content,
789 [in] Windows.Foundation.DateTime delivery_time,
790 [out, retval] Windows.UI.Notifications.ScheduledToastNotification **value);
791 HRESULT CreateScheduledToastNotificationRecurring(
792 [in] Windows.Data.Xml.Dom.XmlDocument *content,
793 [in] Windows.Foundation.DateTime delivery_time,
794 [in] Windows.Foundation.TimeSpan snooze_interval,
795 [in] UINT32 maximum_snooze_count,
796 [out, retval] Windows.UI.Notifications.ScheduledToastNotification **value);
797 }
798
799 [
800 contract(Windows.Foundation.UniversalApiContract, 7.0),
801 exclusiveto(Windows.UI.Notifications.ScheduledToastNotificationShowingEventArgs),
802 uuid(6173f6b4-412a-5e2c-a6ed-a0209aef9a09)
803 ]
804 interface IScheduledToastNotificationShowingEventArgs : IInspectable
805 {
806 [propget] HRESULT Cancel([out, retval] boolean *value);
807 [propput] HRESULT Cancel([in] boolean value);
808 [propget] HRESULT ScheduledToastNotification([out, retval] Windows.UI.Notifications.ScheduledToastNotification **value);
809 HRESULT GetDeferral([out, retval] Windows.Foundation.Deferral **result);
810 }
811
812 [
813 contract(Windows.Foundation.UniversalApiContract, 3.0),
814 exclusiveto(Windows.UI.Notifications.ShownTileNotification),
815 uuid(342d8988-5af2-481a-a6a3-f2fdc78de88e)
816 ]
817 interface IShownTileNotification : IInspectable
818 {
819 [propget] HRESULT Arguments([out, retval] HSTRING *value);
820 }
821
822 [
823 contract(Windows.Foundation.UniversalApiContract, 1.0),
824 exclusiveto(Windows.UI.Notifications.TileFlyoutNotification),
825 uuid(9a53b261-c70c-42be-b2f3-f42aa97d34e5)
826 ]
827 interface ITileFlyoutNotification : IInspectable
828 {
829 [propget] HRESULT Content([out, retval] Windows.Data.Xml.Dom.XmlDocument **value);
830 [propput] HRESULT ExpirationTime([in] Windows.Foundation.IReference<Windows.Foundation.DateTime> *value);
831 [propget] HRESULT ExpirationTime([out, retval] Windows.Foundation.IReference<Windows.Foundation.DateTime> **value);
832 }
833
834 [
835 contract(Windows.Foundation.UniversalApiContract, 1.0),
836 exclusiveto(Windows.UI.Notifications.TileFlyoutNotification),
837 uuid(ef556ff5-5226-4f2b-b278-88a35dfe569f)
838 ]
839 interface ITileFlyoutNotificationFactory : IInspectable
840 {
841 HRESULT CreateTileFlyoutNotification(
842 [in] Windows.Data.Xml.Dom.XmlDocument *content,
843 [out, retval] Windows.UI.Notifications.TileFlyoutNotification **value);
844 }
845
846 [
847 contract(Windows.Foundation.UniversalApiContract, 1.0),
848 exclusiveto(Windows.UI.Notifications.TileFlyoutUpdateManager),
849 uuid(04363b0b-1ac0-4b99-88e7-ada83e953d48)
850 ]
851 interface ITileFlyoutUpdateManagerStatics : IInspectable
852 {
853 [overload("CreateTileFlyoutUpdaterForApplication")] HRESULT CreateTileFlyoutUpdaterForApplication(
854 [out, retval] Windows.UI.Notifications.TileFlyoutUpdater **result);
855 [overload("CreateTileFlyoutUpdaterForApplication")] HRESULT CreateTileFlyoutUpdaterForApplicationWithId(
856 [in] HSTRING application_id,
857 [out, retval] Windows.UI.Notifications.TileFlyoutUpdater **result);
858 HRESULT CreateTileFlyoutUpdaterForSecondaryTile(
859 [in] HSTRING tile_id,
860 [out, retval] Windows.UI.Notifications.TileFlyoutUpdater **result);
861 HRESULT GetTemplateContent(
862 [in] Windows.UI.Notifications.TileFlyoutTemplateType type,
863 [out, retval] Windows.Data.Xml.Dom.XmlDocument **result);
864 }
865
866 [
867 contract(Windows.Foundation.UniversalApiContract, 1.0),
868 exclusiveto(Windows.UI.Notifications.TileFlyoutUpdater),
869 uuid(8d40c76a-c465-4052-a740-5c2654c1a089)
870 ]
871 interface ITileFlyoutUpdater : IInspectable
872 {
873 HRESULT Update([in] Windows.UI.Notifications.TileFlyoutNotification *notification);
874 HRESULT Clear();
875 [overload("StartPeriodicUpdate")] HRESULT StartPeriodicUpdate(
876 [in] Windows.Foundation.Uri *tile_flyout_content,
877 [in] Windows.UI.Notifications.PeriodicUpdateRecurrence requested_interval);
878 [overload("StartPeriodicUpdate")] HRESULT StartPeriodicUpdateAtTime(
879 [in] Windows.Foundation.Uri *tile_flyout_content,
880 [in] Windows.Foundation.DateTime start_time,
881 [in] Windows.UI.Notifications.PeriodicUpdateRecurrence requested_interval);
882 HRESULT StopPeriodicUpdate();
883 [propget] HRESULT Setting([out, retval] Windows.UI.Notifications.NotificationSetting *value);
884 }
885
886 [
887 contract(Windows.Foundation.UniversalApiContract, 1.0),
888 exclusiveto(Windows.UI.Notifications.TileNotification),
889 uuid(ebaec8fa-50ec-4c18-b4d0-3af02e5540ab)
890 ]
891 interface ITileNotification : IInspectable
892 {
893 [propget] HRESULT Content([out, retval] Windows.Data.Xml.Dom.XmlDocument **value);
894 [propput] HRESULT ExpirationTime([in] Windows.Foundation.IReference<Windows.Foundation.DateTime> *value);
895 [propget] HRESULT ExpirationTime([out, retval] Windows.Foundation.IReference<Windows.Foundation.DateTime> **value);
896 [propput] HRESULT Tag([in] HSTRING value);
897 [propget] HRESULT Tag([out, retval] HSTRING *value);
898 }
899
900 [
901 contract(Windows.Foundation.UniversalApiContract, 1.0),
902 exclusiveto(Windows.UI.Notifications.TileNotification),
903 uuid(c6abdd6e-4928-46c8-bdbf-81a047dea0d4)
904 ]
905 interface ITileNotificationFactory : IInspectable
906 {
907 HRESULT CreateTileNotification([in] Windows.Data.Xml.Dom.XmlDocument *content, [out, retval] Windows.UI.Notifications.TileNotification **value);
908 }
909
910 [
911 contract(Windows.Foundation.UniversalApiContract, 3.0),
912 exclusiveto(Windows.UI.Notifications.TileUpdateManagerForUser),
913 uuid(55141348-2ee2-4e2d-9cc1-216a20decc9f)
914 ]
915 interface ITileUpdateManagerForUser : IInspectable
916 {
917 [overload("CreateTileUpdaterForApplicationForUser")] HRESULT CreateTileUpdaterForApplication([out, retval] Windows.UI.Notifications.TileUpdater **result);
918 [overload("CreateTileUpdaterForApplication")] HRESULT CreateTileUpdaterForApplicationWithId([in] HSTRING application_id, [out, retval] Windows.UI.Notifications.TileUpdater **result);
919 HRESULT CreateTileUpdaterForSecondaryTile([in] HSTRING tile_id, [out, retval] Windows.UI.Notifications.TileUpdater **result);
920 [propget] HRESULT User([out, retval] Windows.System.User **value);
921 }
922
923 [
924 contract(Windows.Foundation.UniversalApiContract, 1.0),
925 exclusiveto(Windows.UI.Notifications.TileUpdateManager),
926 uuid(da159e5d-3ea9-4986-8d84-b09d5e12276d)
927 ]
928 interface ITileUpdateManagerStatics : IInspectable
929 {
930 [overload("CreateTileUpdaterForApplication")] HRESULT CreateTileUpdaterForApplication([out, retval] Windows.UI.Notifications.TileUpdater **result);
931 [overload("CreateTileUpdaterForApplication")] HRESULT CreateTileUpdaterForApplicationWithId([in] HSTRING application_id, [out, retval] Windows.UI.Notifications.TileUpdater **result);
932 HRESULT CreateTileUpdaterForSecondaryTile([in] HSTRING tileId, [out, retval] Windows.UI.Notifications.TileUpdater **result);
933 HRESULT GetTemplateContent([in] Windows.UI.Notifications.TileTemplateType type, [out, retval] Windows.Data.Xml.Dom.XmlDocument **result);
934 }
935
936 [
937 contract(Windows.Foundation.UniversalApiContract, 3.0),
938 exclusiveto(Windows.UI.Notifications.TileUpdateManager),
939 uuid(731c1ddc-8e14-4b7c-a34b-9d22de76c84d)
940 ]
941 interface ITileUpdateManagerStatics2 : IInspectable
942 {
943 HRESULT GetForUser([in] Windows.System.User *user, [out, retval] Windows.UI.Notifications.TileUpdateManagerForUser **result);
944 }
945
946 [
947 contract(Windows.Foundation.UniversalApiContract, 1.0),
948 exclusiveto(Windows.UI.Notifications.TileUpdater),
949 uuid(0942a48b-1d91-44ec-9243-c1e821c29a20)
950 ]
951 interface ITileUpdater : IInspectable
952 {
953 HRESULT Update([in] Windows.UI.Notifications.TileNotification *notification);
954 HRESULT Clear();
955 HRESULT EnableNotificationQueue([in] boolean enable);
956 [propget] HRESULT Setting([out, retval] Windows.UI.Notifications.NotificationSetting *value);
957 HRESULT AddToSchedule([in] Windows.UI.Notifications.ScheduledTileNotification *scheduled_tile);
958 HRESULT RemoveFromSchedule([in] Windows.UI.Notifications.ScheduledTileNotification *scheduled_tile);
959 HRESULT GetScheduledTileNotifications([out, retval] Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ScheduledTileNotification *> **result);
960 [overload("StartPeriodicUpdate")] HRESULT StartPeriodicUpdate(
961 [in] Windows.Foundation.Uri *tile_content,
962 [in] Windows.UI.Notifications.PeriodicUpdateRecurrence requested_interval);
963 [overload("StartPeriodicUpdate")] HRESULT StartPeriodicUpdateAtTime(
964 [in] Windows.Foundation.Uri *tile_content,
965 [in] Windows.Foundation.DateTime start_time,
966 [in] Windows.UI.Notifications.PeriodicUpdateRecurrence requested_interval);
967 HRESULT StopPeriodicUpdate();
968 [overload("StartPeriodicUpdateBatch")] HRESULT StartPeriodicUpdateBatch(
969 [in] Windows.Foundation.Collections.IIterable<Windows.Foundation.Uri *> *tile_contents,
970 [in] Windows.UI.Notifications.PeriodicUpdateRecurrence requested_interval);
971 [overload("StartPeriodicUpdateBatch")] HRESULT StartPeriodicUpdateBatchAtTime(
972 [in] Windows.Foundation.Collections.IIterable<Windows.Foundation.Uri *> *tile_contents,
973 [in] Windows.Foundation.DateTime start_time,
974 [in] Windows.UI.Notifications.PeriodicUpdateRecurrence requested_interval);
975 }
976
977 [
978 contract(Windows.Foundation.UniversalApiContract, 1.0),
979 exclusiveto(Windows.UI.Notifications.TileUpdater),
980 uuid(a2266e12-15ee-43ed-83f5-65b352bb1a84)
981 ]
982 interface ITileUpdater2 : IInspectable
983 {
984 HRESULT EnableNotificationQueueForSquare150x150([in] boolean enable);
985 HRESULT EnableNotificationQueueForWide310x150([in] boolean enable);
986 HRESULT EnableNotificationQueueForSquare310x310([in] boolean enable);
987 }
988
989 [
990 contract(Windows.Foundation.UniversalApiContract, 1.0),
991 exclusiveto(Windows.UI.Notifications.ToastActivatedEventArgs),
992 uuid(e3bf92f3-c197-436f-8265-0625824f8dac)
993 ]
994 interface IToastActivatedEventArgs : IInspectable
995 {
996 [propget] HRESULT Arguments([out, retval] HSTRING *value);
997 }
998
999 [
1000 contract(Windows.Foundation.UniversalApiContract, 8.0),
1001 exclusiveto(Windows.UI.Notifications.ToastActivatedEventArgs),
1002 uuid(ab7da512-cc61-568e-81be-304ac31038fa)
1003 ]
1004 interface IToastActivatedEventArgs2 : IInspectable
1005 {
1006 [propget] HRESULT UserInput([out, retval] Windows.Foundation.Collections.ValueSet **value);
1007 }
1008
1009 [
1010 contract(Windows.Foundation.UniversalApiContract, 4.0),
1011 exclusiveto(Windows.UI.Notifications.ToastCollection),
1012 uuid(0a8bc3b0-e0be-4858-bc2a-89dfe0b32863)
1013 ]
1014 interface IToastCollection : IInspectable
1015 {
1016 [propget] HRESULT Id([out, retval] HSTRING *value);
1017 [propget] HRESULT DisplayName([out, retval] HSTRING *value);
1018 [propput] HRESULT DisplayName([in] HSTRING value);
1019 [propget] HRESULT LaunchArgs([out, retval] HSTRING *value);
1020 [propput] HRESULT LaunchArgs([in] HSTRING value);
1021 [propget] HRESULT Icon([out, retval] Windows.Foundation.Uri **value);
1022 [propput] HRESULT Icon([in] Windows.Foundation.Uri *value);
1023 }
1024
1025 [
1026 contract(Windows.Foundation.UniversalApiContract, 4.0),
1027 exclusiveto(Windows.UI.Notifications.ToastCollection),
1028 uuid(164dd3d7-73c4-44f7-b4ff-fb6d4bf1f4c6)
1029 ]
1030 interface IToastCollectionFactory : IInspectable
1031 {
1032 HRESULT CreateInstance(
1033 [in] HSTRING collection_id,
1034 [in] HSTRING display_name,
1035 [in] HSTRING launch_args,
1036 [in] Windows.Foundation.Uri *icon_uri,
1037 [out, retval] Windows.UI.Notifications.ToastCollection **value);
1038 }
1039
1040 [
1041 contract(Windows.Foundation.UniversalApiContract, 4.0),
1042 exclusiveto(Windows.UI.Notifications.ToastCollectionManager),
1043 uuid(2a1821fe-179d-49bc-b79d-a527920d3665)
1044 ]
1045 interface IToastCollectionManager : IInspectable
1046 {
1047 HRESULT SaveToastCollectionAsync([in] Windows.UI.Notifications.ToastCollection *collection, [out, retval] Windows.Foundation.IAsyncAction **operation);
1048 HRESULT FindAllToastCollectionsAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ToastCollection *> *> **operation);
1049 HRESULT GetToastCollectionAsync([in] HSTRING collection_id, [out, retval] Windows.Foundation.IAsyncOperation<Windows.UI.Notifications.ToastCollection *> **operation);
1050 HRESULT RemoveToastCollectionAsync([in] HSTRING collection_id, [out, retval] Windows.Foundation.IAsyncAction **operation);
1051 HRESULT RemoveAllToastCollectionsAsync([out, retval] Windows.Foundation.IAsyncAction **operation);
1052 [propget] HRESULT User([out, retval] Windows.System.User **value);
1053 [propget] HRESULT AppId([out, retval] HSTRING *value);
1054 }
1055
1056 [
1057 contract(Windows.Foundation.UniversalApiContract, 1.0),
1058 exclusiveto(Windows.UI.Notifications.ToastDismissedEventArgs),
1059 uuid(3f89d935-d9cb-4538-a0f0-ffe7659938f8)
1060 ]
1061 interface IToastDismissedEventArgs : IInspectable
1062 {
1063 [propget] HRESULT Reason([out, retval] Windows.UI.Notifications.ToastDismissalReason *value);
1064 }
1065
1066 [
1067 contract(Windows.Foundation.UniversalApiContract, 1.0),
1068 exclusiveto(Windows.UI.Notifications.ToastFailedEventArgs),
1069 uuid(35176862-cfd4-44f8-ad64-f500fd896c3b)
1070 ]
1071 interface IToastFailedEventArgs : IInspectable
1072 {
1073 [propget] HRESULT ErrorCode([out, retval] HRESULT *value);
1074 }
1075
1076 [
1077 contract(Windows.Foundation.UniversalApiContract, 1.0),
1078 exclusiveto(Windows.UI.Notifications.ToastNotification),
1079 uuid(997e2675-059e-4e60-8b06-1760917c8b80)
1080 ]
1081 interface IToastNotification : IInspectable
1082 {
1083 [propget] HRESULT Content([out, retval] Windows.Data.Xml.Dom.XmlDocument **value);
1084 [propput] HRESULT ExpirationTime([in] Windows.Foundation.IReference<Windows.Foundation.DateTime> *value);
1085 [propget] HRESULT ExpirationTime([out, retval] Windows.Foundation.IReference<Windows.Foundation.DateTime> **value);
1086 [eventadd] HRESULT Dismissed(
1087 [in] Windows.Foundation.TypedEventHandler<Windows.UI.Notifications.ToastNotification *, Windows.UI.Notifications.ToastDismissedEventArgs *> *handler,
1088 [out, retval] EventRegistrationToken *token);
1089 [eventremove] HRESULT Dismissed([in] EventRegistrationToken token);
1090 [eventadd] HRESULT Activated(
1091 [in] Windows.Foundation.TypedEventHandler<Windows.UI.Notifications.ToastNotification *, IInspectable *> *handler,
1092 [out, retval] EventRegistrationToken *token);
1093 [eventremove] HRESULT Activated([in] EventRegistrationToken token);
1094 [eventadd] HRESULT Failed(
1095 [in] Windows.Foundation.TypedEventHandler<Windows.UI.Notifications.ToastNotification *, Windows.UI.Notifications.ToastFailedEventArgs *> *handler,
1096 [out, retval] EventRegistrationToken *token);
1097 [eventremove] HRESULT Failed([in] EventRegistrationToken token);
1098 }
1099
1100 [
1101 contract(Windows.Foundation.UniversalApiContract, 1.0),
1102 exclusiveto(Windows.UI.Notifications.ToastNotification),
1103 uuid(9dfb9fd1-143a-490e-90bf-b9fba7132de7)
1104 ]
1105 interface IToastNotification2 : IInspectable
1106 {
1107 [propput] HRESULT Tag([in] HSTRING value);
1108 [propget] HRESULT Tag([out, retval] HSTRING *value);
1109 [propput] HRESULT Group([in] HSTRING value);
1110 [propget] HRESULT Group([out, retval] HSTRING *value);
1111 [propput] HRESULT SuppressPopup([in] boolean value);
1112 [propget] HRESULT SuppressPopup([out, retval] boolean *value);
1113 }
1114
1115 [
1116 contract(Windows.Foundation.UniversalApiContract, 3.0),
1117 exclusiveto(Windows.UI.Notifications.ToastNotification),
1118 uuid(31e8aed8-8141-4f99-bc0a-c4ed21297d77)
1119 ]
1120 interface IToastNotification3 : IInspectable
1121 {
1122 [propget] HRESULT NotificationMirroring([out, retval] Windows.UI.Notifications.NotificationMirroring *value);
1123 [propput] HRESULT NotificationMirroring([in] Windows.UI.Notifications.NotificationMirroring value);
1124 [propget] HRESULT RemoteId([out, retval] HSTRING *value);
1125 [propput] HRESULT RemoteId([in] HSTRING value);
1126 }
1127
1128 [
1129 contract(Windows.Foundation.UniversalApiContract, 4.0),
1130 exclusiveto(Windows.UI.Notifications.ToastNotification),
1131 uuid(15154935-28ea-4727-88e9-c58680e2d118)
1132 ]
1133 interface IToastNotification4 : IInspectable
1134 {
1135 [propget] HRESULT Data([out, retval] Windows.UI.Notifications.NotificationData **value);
1136 [propput] HRESULT Data([in] Windows.UI.Notifications.NotificationData *value);
1137 [propget] HRESULT Priority([out, retval] Windows.UI.Notifications.ToastNotificationPriority *value);
1138 [propput] HRESULT Priority([in] Windows.UI.Notifications.ToastNotificationPriority value);
1139 }
1140
1141 [
1142 contract(Windows.Foundation.UniversalApiContract, 8.0),
1143 exclusiveto(Windows.UI.Notifications.ToastNotification),
1144 uuid(43ebfe53-89ae-5c1e-a279-3aecfe9b6f54)
1145 ]
1146 interface IToastNotification6 : IInspectable
1147 {
1148 [propget] HRESULT ExpiresOnReboot([out, retval] boolean *value);
1149 [propput] HRESULT ExpiresOnReboot([in] boolean value);
1150 }
1151
1152 [
1153 contract(Windows.Foundation.UniversalApiContract, 1.0),
1154 exclusiveto(Windows.UI.Notifications.ToastNotificationActionTriggerDetail),
1155 uuid(9445135a-38f3-42f6-96aa-7955b0f03da2)
1156 ]
1157 interface IToastNotificationActionTriggerDetail : IInspectable
1158 {
1159 [propget] HRESULT Argument([out, retval] HSTRING *value);
1160 [propget] HRESULT UserInput([out, retval] Windows.Foundation.Collections.ValueSet **value);
1161 }
1162
1163 [
1164 contract(Windows.Foundation.UniversalApiContract, 1.0),
1165 exclusiveto(Windows.UI.Notifications.ToastNotification),
1166 uuid(04124b20-82c6-4229-b109-fd9ed4662b53)
1167 ]
1168 interface IToastNotificationFactory : IInspectable
1169 {
1170 HRESULT CreateToastNotification([in] Windows.Data.Xml.Dom.XmlDocument *content, [out, retval] Windows.UI.Notifications.ToastNotification **value);
1171 }
1172
1173 [
1174 contract(Windows.Foundation.UniversalApiContract, 1.0),
1175 exclusiveto(Windows.UI.Notifications.ToastNotificationHistory),
1176 uuid(5caddc63-01d3-4c97-986f-0533483fee14)
1177 ]
1178 interface IToastNotificationHistory : IInspectable
1179 {
1180 [overload("RemoveGroup")] HRESULT RemoveGroup([in] HSTRING group);
1181 [overload("RemoveGroup")] HRESULT RemoveGroupWithId([in] HSTRING group, [in] HSTRING application_id);
1182 [overload("Remove")] HRESULT RemoveGroupedTagWithId([in] HSTRING tag, [in] HSTRING group, [in] HSTRING application_id);
1183 [overload("Remove")] HRESULT RemoveGroupedTag([in] HSTRING tag, [in] HSTRING group);
1184 [overload("Remove")] HRESULT Remove([in] HSTRING tag);
1185 [overload("Clear")] HRESULT Clear();
1186 [overload("Clear")] HRESULT ClearWithId([in] HSTRING application_id);
1187 }
1188
1189 [
1190 contract(Windows.Foundation.UniversalApiContract, 1.0),
1191 exclusiveto(Windows.UI.Notifications.ToastNotificationHistory),
1192 uuid(3bc3d253-2f31-4092-9129-8ad5abf067da)
1193 ]
1194 interface IToastNotificationHistory2 : IInspectable
1195 {
1196 [overload("GetHistory")] HRESULT GetHistory(
1197 [out, retval] Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ToastNotification *> **result);
1198 [overload("GetHistory")] HRESULT GetHistoryWithId(
1199 [in] HSTRING application_id,
1200 [out, retval] Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ToastNotification *> **result);
1201 }
1202
1203 [
1204 contract(Windows.Foundation.UniversalApiContract, 1.0),
1205 exclusiveto(Windows.UI.Notifications.ToastNotificationHistoryChangedTriggerDetail),
1206 uuid(db037ffa-0068-412c-9c83-267c37f65670)
1207 ]
1208 interface IToastNotificationHistoryChangedTriggerDetail : IInspectable
1209 {
1210 [propget] HRESULT ChangeType([out, retval] Windows.UI.Notifications.ToastHistoryChangedType *value);
1211 }
1212
1213 [
1214 contract(Windows.Foundation.UniversalApiContract, 4.0),
1215 exclusiveto(Windows.UI.Notifications.ToastNotificationHistoryChangedTriggerDetail),
1216 uuid(0b36e982-c871-49fb-babb-25bdbc4cc45b)
1217 ]
1218 interface IToastNotificationHistoryChangedTriggerDetail2 : IInspectable
1219 {
1220 [propget] HRESULT CollectionId([out, retval] HSTRING *value);
1221 }
1222
1223 [
1224 contract(Windows.Foundation.UniversalApiContract, 3.0),
1225 exclusiveto(Windows.UI.Notifications.ToastNotificationManagerForUser),
1226 uuid(79ab57f6-43fe-487b-8a7f-99567200ae94)
1227 ]
1228 interface IToastNotificationManagerForUser : IInspectable
1229 {
1230 [overload("CreateToastNotifier")] HRESULT CreateToastNotifier([out, retval] Windows.UI.Notifications.ToastNotifier **result);
1231 [overload("CreateToastNotifier")] HRESULT CreateToastNotifierWithId([in] HSTRING application_id, [out, retval] Windows.UI.Notifications.ToastNotifier **result);
1232 [propget] HRESULT History([out, retval] Windows.UI.Notifications.ToastNotificationHistory **value);
1233 [propget] HRESULT User([out, retval] Windows.System.User **value);
1234 }
1235
1236 [
1237 contract(Windows.Foundation.UniversalApiContract, 4.0),
1238 exclusiveto(Windows.UI.Notifications.ToastNotificationManagerForUser),
1239 uuid(679c64b7-81ab-42c2-8819-c958767753f4)
1240 ]
1241 interface IToastNotificationManagerForUser2 : IInspectable
1242 {
1243 HRESULT GetToastNotifierForToastCollectionIdAsync([in] HSTRING collection_id, [out, retval] Windows.Foundation.IAsyncOperation<Windows.UI.Notifications.ToastNotifier *> **operation);
1244 HRESULT GetHistoryForToastCollectionIdAsync([in] HSTRING collection_id, [out, retval] Windows.Foundation.IAsyncOperation<Windows.UI.Notifications.ToastNotificationHistory *> **operation);
1245 [overload("GetToastCollectionManager")] HRESULT GetToastCollectionManager([out, retval] Windows.UI.Notifications.ToastCollectionManager **result);
1246 [overload("GetToastCollectionManager")] HRESULT GetToastCollectionManagerWithAppId([in] HSTRING app_id, [out, retval] Windows.UI.Notifications.ToastCollectionManager **result);
1247 }
1248
1249 [
1250 contract(Windows.Foundation.UniversalApiContract, 15.0),
1251 exclusiveto(Windows.UI.Notifications.ToastNotificationManagerForUser),
1252 uuid(3efcb176-6cc1-56dc-973b-251f7aacb1c5)
1253 ]
1254 interface IToastNotificationManagerForUser3 : IInspectable
1255 {
1256 [propget] HRESULT NotificationMode([out, retval] Windows.UI.Notifications.ToastNotificationMode *value);
1257 [eventadd] HRESULT NotificationModeChanged(
1258 [in] Windows.Foundation.TypedEventHandler<Windows.UI.Notifications.ToastNotificationManagerForUser *, IInspectable *> *handler,
1259 [out, retval] EventRegistrationToken *token);
1260 [eventremove] HRESULT NotificationModeChanged([in] EventRegistrationToken token);
1261 }
1262
1263 [
1264 contract(Windows.Foundation.UniversalApiContract, 1.0),
1265 exclusiveto(Windows.UI.Notifications.ToastNotificationManager),
1266 uuid(50ac103f-d235-4598-bbef-98fe4d1a3ad4)
1267 ]
1268 interface IToastNotificationManagerStatics : IInspectable
1269 {
1270 [overload("CreateToastNotifier")] HRESULT CreateToastNotifier([out, retval] Windows.UI.Notifications.ToastNotifier **result);
1271 [overload("CreateToastNotifier")] HRESULT CreateToastNotifierWithId([in] HSTRING application_id, [out, retval] Windows.UI.Notifications.ToastNotifier **result);
1272 HRESULT GetTemplateContent([in] Windows.UI.Notifications.ToastTemplateType type, [out, retval] Windows.Data.Xml.Dom.XmlDocument **result);
1273 }
1274
1275 [
1276 contract(Windows.Foundation.UniversalApiContract, 1.0),
1277 exclusiveto(Windows.UI.Notifications.ToastNotificationManager),
1278 uuid(7ab93c52-0e48-4750-ba9d-1a4113981847)
1279 ]
1280 interface IToastNotificationManagerStatics2 : IInspectable
1281 {
1282 [propget] HRESULT History([out, retval] Windows.UI.Notifications.ToastNotificationHistory **value);
1283 }
1284
1285 [
1286 contract(Windows.Foundation.UniversalApiContract, 3.0),
1287 exclusiveto(Windows.UI.Notifications.ToastNotificationManager),
1288 uuid(8F993FD3-E516-45FB-8130-398E93FA52C3)
1289 ]
1290 interface IToastNotificationManagerStatics4 : IInspectable
1291 {
1292 HRESULT GetForUser([in] Windows.System.User *user, [out, retval] Windows.UI.Notifications.ToastNotificationManagerForUser **result);
1293 HRESULT ConfigureNotificationMirroring([in] Windows.UI.Notifications.NotificationMirroring value);
1294 }
1295
1296 [
1297 contract(Windows.Foundation.UniversalApiContract, 4.0),
1298 exclusiveto(Windows.UI.Notifications.ToastNotificationManager),
1299 uuid(d6f5f569-d40d-407c-8989-88cab42cfd14)
1300 ]
1301 interface IToastNotificationManagerStatics5 : IInspectable
1302 {
1303 HRESULT GetDefault([out, retval] Windows.UI.Notifications.ToastNotificationManagerForUser **result);
1304 }
1305
1306 [
1307 contract(Windows.Foundation.UniversalApiContract, 1.0),
1308 exclusiveto(Windows.UI.Notifications.ToastNotifier),
1309 uuid(75927b93-03f3-41ec-91d3-6e5bac1b38e7)
1310 ]
1311 interface IToastNotifier : IInspectable
1312 {
1313 HRESULT Show([in] Windows.UI.Notifications.ToastNotification *notification);
1314 HRESULT Hide([in] Windows.UI.Notifications.ToastNotification *notification);
1315 [propget] HRESULT Setting([out, retval] Windows.UI.Notifications.NotificationSetting *value);
1316 HRESULT AddToSchedule([in] Windows.UI.Notifications.ScheduledToastNotification *scheduled_toast);
1317 HRESULT RemoveFromSchedule([in] Windows.UI.Notifications.ScheduledToastNotification *scheduled_toast);
1318 HRESULT GetScheduledToastNotifications([out, retval] Windows.Foundation.Collections.IVectorView<Windows.UI.Notifications.ScheduledToastNotification *> **result);
1319 }
1320
1321 [
1322 contract(Windows.Foundation.UniversalApiContract, 4.0),
1323 exclusiveto(Windows.UI.Notifications.ToastNotifier),
1324 uuid(354389c6-7c01-4bd5-9c20-604340cd2b74)
1325 ]
1326 interface IToastNotifier2 : IInspectable
1327 {
1328 [overload("Update")] HRESULT UpdateWithTagAndGroup([in] Windows.UI.Notifications.NotificationData *data, [in] HSTRING tag, [in] HSTRING group, [out, retval] Windows.UI.Notifications.NotificationUpdateResult *result);
1329 [overload("Update")] HRESULT UpdateWithTag([in] Windows.UI.Notifications.NotificationData *data, [in] HSTRING tag, [out, retval] Windows.UI.Notifications.NotificationUpdateResult *result);
1330 }
1331
1332 [
1333 contract(Windows.Foundation.UniversalApiContract, 7.0),
1334 exclusiveto(Windows.UI.Notifications.ToastNotifier),
1335 uuid(ae75a04a-3b0c-51ad-b7e8-b08ab6052549)
1336 ]
1337 interface IToastNotifier3 : IInspectable
1338 {
1339 [eventadd] HRESULT ScheduledToastNotificationShowing(
1340 [in] Windows.Foundation.TypedEventHandler<Windows.UI.Notifications.ToastNotifier *, Windows.UI.Notifications.ScheduledToastNotificationShowingEventArgs *> *handler,
1341 [out, retval] EventRegistrationToken *token);
1342 [eventremove] HRESULT ScheduledToastNotificationShowing([in] EventRegistrationToken token);
1343 }
1344
1345 [
1346 contract(Windows.Foundation.UniversalApiContract, 3.0),
1347 exclusiveto(Windows.UI.Notifications.UserNotification),
1348 uuid(adf7e52f-4e53-42d5-9c33-eb5ea515b23e)
1349 ]
1350 interface IUserNotification : IInspectable
1351 {
1352 [propget] HRESULT Notification([out, retval] Windows.UI.Notifications.Notification **value);
1353 [propget] HRESULT AppInfo([out, retval] Windows.ApplicationModel.AppInfo **value);
1354 [propget] HRESULT Id([out, retval] UINT32 *value);
1355 [propget] HRESULT CreationTime([out, retval] Windows.Foundation.DateTime *value);
1356 }
1357
1358 [
1359 contract(Windows.Foundation.UniversalApiContract, 3.0),
1360 exclusiveto(Windows.UI.Notifications.UserNotificationChangedEventArgs),
1361 uuid(b6bd6839-79cf-4b25-82c0-0ce1eef81f8c)
1362 ]
1363 interface IUserNotificationChangedEventArgs : IInspectable
1364 {
1365 [propget] HRESULT ChangeKind([out, retval] Windows.UI.Notifications.UserNotificationChangedKind *value);
1366 [propget] HRESULT UserNotificationId([out, retval] UINT32 *value);
1367 }
1368
1369 [
1370 activatable(Windows.Foundation.UniversalApiContract, 3.0),
1371 contract(Windows.Foundation.UniversalApiContract, 3.0),
1372 marshaling_behavior(agile),
1373 threading(both)
1374 ]
1375 runtimeclass AdaptiveNotificationText
1376 {
1377 [default] interface Windows.UI.Notifications.IAdaptiveNotificationText;
1378 interface Windows.UI.Notifications.IAdaptiveNotificationContent;
1379 }
1380
1381 [
1382 activatable(Windows.UI.Notifications.IBadgeNotificationFactory, Windows.Foundation.UniversalApiContract, 1.0),
1383 contract(Windows.Foundation.UniversalApiContract, 1.0),
1384 marshaling_behavior(agile),
1385 threading(mta)
1386 ]
1387 runtimeclass BadgeNotification
1388 {
1389 [default] interface Windows.UI.Notifications.IBadgeNotification;
1390 }
1391
1392 [
1393 contract(Windows.Foundation.UniversalApiContract, 1.0),
1394 marshaling_behavior(agile),
1395 static(Windows.UI.Notifications.IBadgeUpdateManagerStatics, Windows.Foundation.UniversalApiContract, 1.0),
1396 static(Windows.UI.Notifications.IBadgeUpdateManagerStatics2, Windows.Foundation.UniversalApiContract, 3.0),
1397 threading(mta)
1398 ]
1399 runtimeclass BadgeUpdateManager
1400 {
1401 }
1402
1403 [
1404 contract(Windows.Foundation.UniversalApiContract, 3.0),
1405 marshaling_behavior(agile)
1406 ]
1407 runtimeclass BadgeUpdateManagerForUser
1408 {
1409 [default] interface Windows.UI.Notifications.IBadgeUpdateManagerForUser;
1410 }
1411
1412 [
1413 contract(Windows.Foundation.UniversalApiContract, 1.0),
1414 marshaling_behavior(agile)
1415 ]
1416 runtimeclass BadgeUpdater
1417 {
1418 [default] interface Windows.UI.Notifications.IBadgeUpdater;
1419 }
1420
1421 [
1422 contract(Windows.Foundation.UniversalApiContract, 3.0),
1423 marshaling_behavior(agile),
1424 static(Windows.UI.Notifications.IKnownAdaptiveNotificationHintsStatics, Windows.Foundation.UniversalApiContract, 3.0),
1425 threading(both)
1426 ]
1427 runtimeclass KnownAdaptiveNotificationHints
1428 {
1429 }
1430
1431 [
1432 contract(Windows.Foundation.UniversalApiContract, 3.0),
1433 marshaling_behavior(agile),
1434 static(Windows.UI.Notifications.IKnownAdaptiveNotificationTextStylesStatics, Windows.Foundation.UniversalApiContract, 3.0),
1435 threading(both)
1436 ]
1437 runtimeclass KnownAdaptiveNotificationTextStyles
1438 {
1439 }
1440
1441 [
1442 contract(Windows.Foundation.UniversalApiContract, 3.0),
1443 marshaling_behavior(agile),
1444 static(Windows.UI.Notifications.IKnownNotificationBindingsStatics, Windows.Foundation.UniversalApiContract, 3.0),
1445 threading(both)
1446 ]
1447 runtimeclass KnownNotificationBindings
1448 {
1449 }
1450
1451 [
1452 activatable(Windows.Foundation.UniversalApiContract, 3.0),
1453 contract(Windows.Foundation.UniversalApiContract, 3.0),
1454 marshaling_behavior(agile),
1455 threading(both)
1456 ]
1457 runtimeclass Notification
1458 {
1459 [default] interface Windows.UI.Notifications.INotification;
1460 }
1461
1462 [
1463 contract(Windows.Foundation.UniversalApiContract, 3.0),
1464 marshaling_behavior(agile)
1465 ]
1466 runtimeclass NotificationBinding
1467 {
1468 [default] interface Windows.UI.Notifications.INotificationBinding;
1469 }
1470
1471 [
1472 activatable(Windows.Foundation.UniversalApiContract, 4.0),
1473 activatable(Windows.UI.Notifications.INotificationDataFactory, Windows.Foundation.UniversalApiContract, 4.0),
1474 contract(Windows.Foundation.UniversalApiContract, 4.0),
1475 marshaling_behavior(agile),
1476 threading(both)
1477 ]
1478 runtimeclass NotificationData
1479 {
1480 [default] interface Windows.UI.Notifications.INotificationData;
1481 }
1482
1483 [
1484 contract(Windows.Foundation.UniversalApiContract, 3.0),
1485 marshaling_behavior(agile)
1486 ]
1487 runtimeclass NotificationVisual
1488 {
1489 [default] interface Windows.UI.Notifications.INotificationVisual;
1490 }
1491
1492 [
1493 activatable(Windows.UI.Notifications.IScheduledTileNotificationFactory, Windows.Foundation.UniversalApiContract, 1.0),
1494 contract(Windows.Foundation.UniversalApiContract, 1.0),
1495 marshaling_behavior(agile),
1496 threading(mta)
1497 ]
1498 runtimeclass ScheduledTileNotification
1499 {
1500 [default] interface Windows.UI.Notifications.IScheduledTileNotification;
1501 }
1502
1503 [
1504 activatable(Windows.UI.Notifications.IScheduledToastNotificationFactory, Windows.Foundation.UniversalApiContract, 1.0),
1505 contract(Windows.Foundation.UniversalApiContract, 1.0),
1506 marshaling_behavior(agile),
1507 threading(mta)
1508 ]
1509 runtimeclass ScheduledToastNotification
1510 {
1511 [default] interface Windows.UI.Notifications.IScheduledToastNotification;
1512 [contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.Notifications.IScheduledToastNotification2;
1513 [contract(Windows.Foundation.UniversalApiContract, 3.0)] interface Windows.UI.Notifications.IScheduledToastNotification3;
1514 [contract(Windows.Foundation.UniversalApiContract, 6.0)] interface Windows.UI.Notifications.IScheduledToastNotification4;
1515 }
1516
1517 [
1518 contract(Windows.Foundation.UniversalApiContract, 7.0),
1519 marshaling_behavior(agile)
1520 ]
1521 runtimeclass ScheduledToastNotificationShowingEventArgs
1522 {
1523 [default] interface Windows.UI.Notifications.IScheduledToastNotificationShowingEventArgs;
1524 }
1525
1526 [
1527 contract(Windows.Foundation.UniversalApiContract, 3.0),
1528 marshaling_behavior(agile)
1529 ]
1530 runtimeclass ShownTileNotification
1531 {
1532 [default] interface Windows.UI.Notifications.IShownTileNotification;
1533 }
1534
1535 [
1536 activatable(Windows.UI.Notifications.ITileFlyoutNotificationFactory, Windows.Foundation.UniversalApiContract, 1.0),
1537 contract(Windows.Foundation.UniversalApiContract, 1.0),
1538 marshaling_behavior(agile),
1539 threading(mta)
1540 ]
1541 runtimeclass TileFlyoutNotification
1542 {
1543 [default] interface Windows.UI.Notifications.ITileFlyoutNotification;
1544 }
1545
1546 [
1547 contract(Windows.Foundation.UniversalApiContract, 1.0),
1548 marshaling_behavior(agile),
1549 static(Windows.UI.Notifications.ITileFlyoutUpdateManagerStatics, Windows.Foundation.UniversalApiContract, 1.0),
1550 threading(mta)
1551 ]
1552 runtimeclass TileFlyoutUpdateManager
1553 {
1554 }
1555
1556 [
1557 contract(Windows.Foundation.UniversalApiContract, 1.0),
1558 marshaling_behavior(standard)
1559 ]
1560 runtimeclass TileFlyoutUpdater
1561 {
1562 [default] interface Windows.UI.Notifications.ITileFlyoutUpdater;
1563 }
1564
1565 [
1566 activatable(Windows.UI.Notifications.ITileNotificationFactory, Windows.Foundation.UniversalApiContract, 1.0),
1567 contract(Windows.Foundation.UniversalApiContract, 1.0),
1568 marshaling_behavior(agile),
1569 threading(mta)
1570 ]
1571 runtimeclass TileNotification
1572 {
1573 [default] interface Windows.UI.Notifications.ITileNotification;
1574 }
1575
1576 [
1577 contract(Windows.Foundation.UniversalApiContract, 1.0),
1578 marshaling_behavior(agile),
1579 static(Windows.UI.Notifications.ITileUpdateManagerStatics, Windows.Foundation.UniversalApiContract, 1.0),
1580 static(Windows.UI.Notifications.ITileUpdateManagerStatics2, Windows.Foundation.UniversalApiContract, 3.0),
1581 threading(mta)
1582 ]
1583 runtimeclass TileUpdateManager
1584 {
1585 }
1586
1587 [
1588 contract(Windows.Foundation.UniversalApiContract, 3.0),
1589 marshaling_behavior(agile)
1590 ]
1591 runtimeclass TileUpdateManagerForUser
1592 {
1593 [default] interface Windows.UI.Notifications.ITileUpdateManagerForUser;
1594 }
1595
1596 [
1597 contract(Windows.Foundation.UniversalApiContract, 1.0),
1598 marshaling_behavior(agile)
1599 ]
1600 runtimeclass TileUpdater
1601 {
1602 [default] interface Windows.UI.Notifications.ITileUpdater;
1603 [contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.Notifications.ITileUpdater2;
1604 }
1605
1606 [
1607 contract(Windows.Foundation.UniversalApiContract, 1.0),
1608 marshaling_behavior(standard)
1609 ]
1610 runtimeclass ToastActivatedEventArgs
1611 {
1612 [default] interface Windows.UI.Notifications.IToastActivatedEventArgs;
1613 [contract(Windows.Foundation.UniversalApiContract, 8.0)] interface Windows.UI.Notifications.IToastActivatedEventArgs2;
1614 }
1615
1616 [
1617 activatable(Windows.UI.Notifications.IToastCollectionFactory, Windows.Foundation.UniversalApiContract, 4.0),
1618 contract(Windows.Foundation.UniversalApiContract, 4.0),
1619 marshaling_behavior(agile),
1620 threading(mta)
1621 ]
1622 runtimeclass ToastCollection
1623 {
1624 [default] interface Windows.UI.Notifications.IToastCollection;
1625 }
1626
1627 [
1628 contract(Windows.Foundation.UniversalApiContract, 4.0),
1629 marshaling_behavior(agile)
1630 ]
1631 runtimeclass ToastCollectionManager
1632 {
1633 [default] interface Windows.UI.Notifications.IToastCollectionManager;
1634 }
1635
1636 [
1637 contract(Windows.Foundation.UniversalApiContract, 1.0),
1638 marshaling_behavior(agile)
1639 ]
1640 runtimeclass ToastDismissedEventArgs
1641 {
1642 [default] interface Windows.UI.Notifications.IToastDismissedEventArgs;
1643 }
1644
1645 [
1646 contract(Windows.Foundation.UniversalApiContract, 1.0),
1647 marshaling_behavior(agile)
1648 ]
1649 runtimeclass ToastFailedEventArgs
1650 {
1651 [default] interface Windows.UI.Notifications.IToastFailedEventArgs;
1652 }
1653
1654 [
1655 activatable(Windows.UI.Notifications.IToastNotificationFactory, Windows.Foundation.UniversalApiContract, 1.0),
1656 contract(Windows.Foundation.UniversalApiContract, 1.0),
1657 marshaling_behavior(agile),
1658 threading(mta)
1659 ]
1660 runtimeclass ToastNotification
1661 {
1662 [default] interface Windows.UI.Notifications.IToastNotification;
1663 [contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.Notifications.IToastNotification2;
1664 [contract(Windows.Foundation.UniversalApiContract, 3.0)] interface Windows.UI.Notifications.IToastNotification3;
1665 [contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.UI.Notifications.IToastNotification4;
1666 [contract(Windows.Foundation.UniversalApiContract, 8.0)] interface Windows.UI.Notifications.IToastNotification6;
1667 }
1668
1669 [
1670 contract(Windows.Foundation.UniversalApiContract, 1.0),
1671 marshaling_behavior(standard)
1672 ]
1673 runtimeclass ToastNotificationActionTriggerDetail
1674 {
1675 [contract(Windows.Foundation.UniversalApiContract, 1.0)] [default] interface Windows.UI.Notifications.IToastNotificationActionTriggerDetail;
1676 }
1677
1678 [
1679 contract(Windows.Foundation.UniversalApiContract, 1.0),
1680 marshaling_behavior(standard)
1681 ]
1682 runtimeclass ToastNotificationHistory
1683 {
1684 [contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.Notifications.IToastNotificationHistory2;
1685 [contract(Windows.Foundation.UniversalApiContract, 1.0)] [default] interface Windows.UI.Notifications.IToastNotificationHistory;
1686 }
1687
1688 [
1689 contract(Windows.Foundation.UniversalApiContract, 1.0),
1690 marshaling_behavior(standard)
1691 ]
1692 runtimeclass ToastNotificationHistoryChangedTriggerDetail
1693 {
1694 [contract(Windows.Foundation.UniversalApiContract, 1.0)] [default] interface Windows.UI.Notifications.IToastNotificationHistoryChangedTriggerDetail;
1695 [contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.UI.Notifications.IToastNotificationHistoryChangedTriggerDetail2;
1696 }
1697
1698 [
1699 contract(Windows.Foundation.UniversalApiContract, 1.0),
1700 marshaling_behavior(agile),
1701 static(Windows.UI.Notifications.IToastNotificationManagerStatics, Windows.Foundation.UniversalApiContract, 1.0),
1702 static(Windows.UI.Notifications.IToastNotificationManagerStatics2, Windows.Foundation.UniversalApiContract, 1.0),
1703 static(Windows.UI.Notifications.IToastNotificationManagerStatics4, Windows.Foundation.UniversalApiContract, 3.0),
1704 static(Windows.UI.Notifications.IToastNotificationManagerStatics5, Windows.Foundation.UniversalApiContract, 4.0),
1705 threading(mta)
1706 ]
1707 runtimeclass ToastNotificationManager
1708 {
1709 }
1710
1711 [
1712 contract(Windows.Foundation.UniversalApiContract, 3.0),
1713 marshaling_behavior(agile)
1714 ]
1715 runtimeclass ToastNotificationManagerForUser
1716 {
1717 [default] interface Windows.UI.Notifications.IToastNotificationManagerForUser;
1718 [contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.UI.Notifications.IToastNotificationManagerForUser2;
1719 [contract(Windows.Foundation.UniversalApiContract, 15.0)] interface Windows.UI.Notifications.IToastNotificationManagerForUser3;
1720 }
1721
1722 [
1723 contract(Windows.Foundation.UniversalApiContract, 1.0),
1724 marshaling_behavior(agile)
1725 ]
1726 runtimeclass ToastNotifier
1727 {
1728 [default] interface Windows.UI.Notifications.IToastNotifier;
1729 [contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.UI.Notifications.IToastNotifier2;
1730 [contract(Windows.Foundation.UniversalApiContract, 7.0)] interface Windows.UI.Notifications.IToastNotifier3;
1731 }
1732
1733 [
1734 contract(Windows.Foundation.UniversalApiContract, 3.0),
1735 marshaling_behavior(agile)
1736 ]
1737 runtimeclass UserNotification
1738 {
1739 [default] interface Windows.UI.Notifications.IUserNotification;
1740 }
1741
1742 [
1743 contract(Windows.Foundation.UniversalApiContract, 3.0),
1744 marshaling_behavior(agile)
1745 ]
1746 runtimeclass UserNotificationChangedEventArgs
1747 {
1748 [default] interface Windows.UI.Notifications.IUserNotificationChangedEventArgs;
1749 }
1750 }