public void Update (string xml);
public void Update (string medium, string wide, string large, string text);

Parameters

xmlA string containing XML document for new tile look.
mediumAn uri to 150x150 image, shown on medium tile.
wideAn uri to a 310x150 image to be shown on a wide tile (if such issupported).
largeAn uri to a 310x310 image to be shown on a large tile (if such is supported).
textA text to shown on a tile.

Description

Send a notification for tile (update tiles look).

A tile is updated by providing and XML document with new look. The second version is a convenience method to make tile display image, text or both. At least one of medium and text argumets must be provided, and these two are used to determine whether this is image-only, text-only or image-and-text tile. Uris ms-appx:/// and ms-appdata://local can be used to access local application resources. If uri points to network resource, internet access capability must be enabled in applications manifest.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961