BadgeUpdater.StartPeriodicUpdate(Uri, DateTime, PeriodicUpdateRecurrence) | startPeriodicUpdate(Uri, DateTime, PeriodicUpdateRecurrence) method

Begins a series of timed updates for the badge from a web resource that the updater is bound to. Updates begin at a specified time. Note that only web resources (http/https) are allowed in a periodic update.

Syntax


badgeUpdater.startPeriodicUpdate(badgeContent, startTime, requestedInterval);

Parameters

badgeContent

Type: Windows.Foundation.Uri [JavaScript] | System.Uri [.NET] | Windows::Foundation::Uri [C++]

The URI from which the XML content of the badge update will be retrieved.

startTime

Type: Date [JavaScript] | System.DateTimeOffset [.NET] | Windows::Foundation::DateTime [C++]

The time at which the URI should first be polled for new badge content.

requestedInterval

Type: PeriodicUpdateRecurrence

The frequency with which the URI is polled for new badge content, following the initial update at startTime.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Notifications
Windows::UI::Notifications [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Notifications
Windows::UI::Notifications [C++]

Metadata

Windows.winmd

See also

BadgeUpdater
StartPeriodicUpdate(Uri, PeriodicUpdateRecurrence)
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

 

 

Show:
© 2015 Microsoft