TileFlyoutUpdateManager
TileFlyoutUpdateManager
TileFlyoutUpdateManager
TileFlyoutUpdateManager
Class
Definition
Creates TileFlyoutUpdater objects specific to an app's primary or secondary tile, for use with a tile flyout (mix view) notification. This class also enables you to retrieve a blank tile flyout XML template to which you can add your content to define the tile flyout notification.
This class is part of the following general API usage pattern:
- Call TileFlyoutUpdateManager.GetTemplateContent to retrieve and fill in a blank tile flyout notification XML template
- Call the TileFlyoutNotification constructor to encapsulate the template content as a flyout notification
- Call one of the TileFlyoutUpdateManager methods to create a TileFlyoutUpdater
- Call TileFlyoutUpdater.Update to send the TileFlyoutNotification to the tile
public : static class TileFlyoutUpdateManagerpublic static class TileFlyoutUpdateManagerPublic Static Class TileFlyoutUpdateManager// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Methods
CreateTileFlyoutUpdaterForApplication() CreateTileFlyoutUpdaterForApplication() CreateTileFlyoutUpdaterForApplication() CreateTileFlyoutUpdaterForApplication()
Creates a new TileFlyoutUpdater object for the calling app's tile, for use with a tile flyout (mix view) notification.
public : static TileFlyoutUpdater CreateTileFlyoutUpdaterForApplication()public static TileFlyoutUpdater CreateTileFlyoutUpdaterForApplication()Public Static Function CreateTileFlyoutUpdaterForApplication() As TileFlyoutUpdater// You can use this method in JavaScript.
An object that you can use to send notification updates to the calling app's tile flyout, clear the flyout notification, and start and stop periodic flyout notifications.
- See Also
CreateTileFlyoutUpdaterForApplication(String) CreateTileFlyoutUpdaterForApplication(String) CreateTileFlyoutUpdaterForApplication(String) CreateTileFlyoutUpdaterForApplication(String)
Creates a new TileFlyoutUpdater object for a specified tile, for use with a tile flyout (mix view) notification. Because this method overload uses a tile ID, this tile can belong to another app in the same package as the calling app.
public : static TileFlyoutUpdater CreateTileFlyoutUpdaterForApplication(PlatForm::String applicationId)public static TileFlyoutUpdater CreateTileFlyoutUpdaterForApplication(String applicationId)Public Static Function CreateTileFlyoutUpdaterForApplication(applicationId As String) As TileFlyoutUpdater// You can use this method in JavaScript.
- applicationId
- PlatForm::String String String String
The ID of the app.
An object that you can use to send notification updates to the tile flyout for the specified app, clear the flyout notification, and start and stop periodic flyout notifications.
- See Also
CreateTileFlyoutUpdaterForSecondaryTile(String) CreateTileFlyoutUpdaterForSecondaryTile(String) CreateTileFlyoutUpdaterForSecondaryTile(String) CreateTileFlyoutUpdaterForSecondaryTile(String)
Creates a new TileFlyoutUpdater object for one of an app's secondary tiles, for use with a tile flyout (mix view) notification.
public : static TileFlyoutUpdater CreateTileFlyoutUpdaterForSecondaryTile(PlatForm::String tileId)public static TileFlyoutUpdater CreateTileFlyoutUpdaterForSecondaryTile(String tileId)Public Static Function CreateTileFlyoutUpdaterForSecondaryTile(tileId As String) As TileFlyoutUpdater// You can use this method in JavaScript.
- tileId
- PlatForm::String String String String
The secondary tile's ID, assigned to the secondary tile when it was created.
An object that you can use to send notification updates to the secondary tile's flyout, clear the flyout notification, and start and stop periodic flyout notifications.
GetTemplateContent(TileFlyoutTemplateType) GetTemplateContent(TileFlyoutTemplateType) GetTemplateContent(TileFlyoutTemplateType) GetTemplateContent(TileFlyoutTemplateType)
Gets a blank XML template content that defines a tile flyout (mix view) notification. You can then fill in this template as needed, using Document Object Model (DOM) API.
Note
When you use the template retrieved through this method, you don't need to remove unused elements. They will be ignored.
public : static XmlDocument GetTemplateContent(TileFlyoutTemplateType type)public static XmlDocument GetTemplateContent(TileFlyoutTemplateType type)Public Static Function GetTemplateContent(type As TileFlyoutTemplateType) As XmlDocument// You can use this method in JavaScript.
The specific template. At this time, the only valid value is TileFlyoutTemplate01.
The template's content represented as an XmlDocument object.
Remarks
Because there is currently only one template, this method always fetches the following XML: ```xml
<subtile id="2" arguments="">
<image id="1" src=""/>
<text id="1"></text>
</subtile>
<subtile id="3" arguments="">
<image id="1" src=""/>
<text id="1"></text>
</subtile>
<subtile id="4" arguments="">
<image id="1" src=""/>
<text id="1"></text>
</subtile>
<subtile id="5" arguments="">
<image id="1" src=""/>
<text id="1"></text>
<text id="2"></text>
<text id="3"></text>
<text id="4"></text>
<text id="5"></text>
<text id="6"></text>
<text id="7"></text>
<text id="8"></text>
<text id="9"></text>
<text id="10"></text>
<text id="11"></text>
</subtile>
<subtile id="6" arguments="">
<image id="1" src=""/>
<text id="1"></text>
<text id="2"></text>
<text id="3"></text>
<text id="4"></text>
<text id="5"></text>
<text id="6"></text>
<text id="7"></text>
<text id="8"></text>
<text id="9"></text>
<text id="10"></text>
<text id="11"></text>
</subtile>
<subtile id="7" arguments="">
<image id="1" src=""/>
<text id="1"></text>
<text id="2"></text>
<text id="3"></text>
<text id="4"></text>
<text id="5"></text>
<text id="6"></text>
<text id="7"></text>
<text id="8"></text>
<text id="9"></text>
<text id="10"></text>
<text id="11"></text>
</subtile>
<subtile id="8" arguments="">
<image id="1" src=""/>
<text id="1"></text>
<text id="2"></text>
<text id="3"></text>
<text id="4"></text>
<text id="5"></text>
<text id="6"></text>
<text id="7"></text>
<text id="8"></text>
<text id="9"></text>
<text id="10"></text>
<text id="11"></text>
</subtile>
</binding>
</visual>