Badge schema

An element used to specify the value of a badge.

To define the initial content for a badge, use BadgeUpdateManager.getTemplateContent to get template content that can be modified.

To update the content of an existing badge, use BadgeNotification.content to get the current contents.

The following table lists all of the elements in this schema, sorted alphabetically by name.

Element Description
badge

Specifies a badge's value or glyph.