BadgeUpdateManagerForUser BadgeUpdateManagerForUser BadgeUpdateManagerForUser BadgeUpdateManagerForUser Class

Definition

Creates BadgeUpdater objects that you use to manipulate a tile's badge overlay for a specific user. This class also provides access to the XML content of the system-provided badge templates so that you can customize that content for use in updating your badges.

public : sealed class BadgeUpdateManagerForUser : IBadgeUpdateManagerForUserpublic sealed class BadgeUpdateManagerForUser : IBadgeUpdateManagerForUserPublic NotInheritable Class BadgeUpdateManagerForUser Implements IBadgeUpdateManagerForUser// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Properties

User User User User

Gets the user targeted by the badge update manager.

public : User User { get; }public User User { get; }Public ReadOnly Property User As User// You can use this property in JavaScript.
Value
User User User User

The user targeted by the badge update manager.

Methods

CreateBadgeUpdaterForApplication() CreateBadgeUpdaterForApplication() CreateBadgeUpdaterForApplication() CreateBadgeUpdaterForApplication()

Creates and initializes a new instance of the BadgeUpdater, which lets you change the appearance or content of the badge for the bound user on the calling app's tile.

public : BadgeUpdater CreateBadgeUpdaterForApplication()public BadgeUpdater CreateBadgeUpdaterForApplication()Public Function CreateBadgeUpdaterForApplication() As BadgeUpdater// You can use this method in JavaScript.
Returns
See Also

CreateBadgeUpdaterForApplication(String) CreateBadgeUpdaterForApplication(String) CreateBadgeUpdaterForApplication(String) CreateBadgeUpdaterForApplication(String)

Creates a new BadgeUpdater for the bound user and the specified app tile's badge, usually the tile of another app in the package. The BadgeUpdater lets you change the appearance or content of that badge.

public : BadgeUpdater CreateBadgeUpdaterForApplication(PlatForm::String applicationId)public BadgeUpdater CreateBadgeUpdaterForApplication(String applicationId)Public Function CreateBadgeUpdaterForApplication(applicationId As String) As BadgeUpdater// You can use this method in JavaScript.
Parameters
applicationId
PlatForm::String String String String

The ID of the app that owns the tile to update.

Returns

A BadgeUpdater for the current user and the specified app.

See Also

CreateBadgeUpdaterForSecondaryTile(String) CreateBadgeUpdaterForSecondaryTile(String) CreateBadgeUpdaterForSecondaryTile(String) CreateBadgeUpdaterForSecondaryTile(String)

Creates a BadgeUpdater, which enables you to change the appearance or content of a badge on a secondary tile for the bound user. The tile can belong to the calling app or any other app in the same package.

public : BadgeUpdater CreateBadgeUpdaterForSecondaryTile(PlatForm::String tileId)public BadgeUpdater CreateBadgeUpdaterForSecondaryTile(String tileId)Public Function CreateBadgeUpdaterForSecondaryTile(tileId As String) As BadgeUpdater// You can use this method in JavaScript.
Parameters
tileId
PlatForm::String String String String

The ID of the secondary tile.

Returns

A BadgeUpdater for the secondary tile of the current app for the current user.