How to register for Win8 periodic tile notifications?

前端 未结 1 724
傲寒
傲寒 2021-02-10 22:40

I am working on a Win8-UI-App (previously called Metro...) and trying to implement Periodic (Documentation for different methods) Tile Updates (Live Tiles) for the first time.

相关标签:
1条回答
  • 2021-02-10 22:54

    Periodic updates will continue until they are explicitly stopped or your app is uninstalled. Technically, you only have to do that once. But, the Guidelines and checklist for periodic updates states

    Call the StartPeriodicUpdate or StartPeriodicUpdateBatch method each time your app is launched or brought into focus. This ensures that the tile content will be updated each time the user launches or switches to the app.

    According to that, App launch and App resume are good candidates for a call to StartPeriodicUpdate.

    0 讨论(0)
提交回复
热议问题