Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.51 KB

badgeupdater_clear_556466.md

File metadata and controls

25 lines (18 loc) · 1.51 KB
-api-id -api-type -api-device-family-note
M:Windows.UI.Notifications.BadgeUpdater.Clear
winrt method
xbox

Windows.UI.Notifications.BadgeUpdater.Clear

-description

Removes the badge from the tile that the updater is bound to.

-remarks

The badge can also be cleared by setting the badge value to "0" or "none".

Note

If your badge is using periodic updates, you must also call StopPeriodicUpdate or the badge will reappear at the next polling interval.

-examples

-see-also

App tiles and badges sample, Guidelines and checklist for tiles and badges, How to clear a badge, How to send a glyph or numeric badge in a local notification, How to set up periodic notifications for badges, How to update a badge through push notifications, Badge XML schema, Badge overview