TileFlyoutUpdater Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to send or clear a tile flyout (mix view) notification. This class also provides methods to start and stop periodic tile flyout notifications.
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 ref class TileFlyoutUpdater sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class TileFlyoutUpdater final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class TileFlyoutUpdater
Public NotInheritable Class TileFlyoutUpdater
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Properties
Setting |
Gets a value that specifies whether a tile's flyout can be updated through notifications. |
Methods
Clear() |
Removes the current tile flyout (mix view) notification. A tile flyout notification does not have a default expiration time, so unless one is set explicitly through TileFlyoutNotification.ExpirationTime, this method is the only way to remove the flyout. |
StartPeriodicUpdate(Uri, DateTime, PeriodicUpdateRecurrence) |
Launches a series of periodic updates for a tile flyout (mix view) notification, beginning at a specified time. Update content is retrieved from a specified Uniform Resource Identifier (URI). |
StartPeriodicUpdate(Uri, PeriodicUpdateRecurrence) |
Launches a series of periodic updates for a tile flyout (mix view) notification, beginning with an immediate update when the method is called. Update content is retrieved from a specified Uniform Resource Identifier (URI). |
StopPeriodicUpdate() |
Cancels the current series of periodic tile flyout (mix view) notification updates for the primary or secondary tile associated with the updater. |
Update(TileFlyoutNotification) |
Sends a new tile flyout (mix view) notification to the primary or secondary tile associated with the updater. Note Sending a tile flyout notification to a device that does not support hover causes an exception to be thrown. Always verify the device's hover capability before you call this method. |