Presentation is loading. Please wait.

Presentation is loading. Please wait.

MechanismScenarioExpiresWinRT API Local Update a tile immediately, while the app is running or from a background task Never TileUpdateManager.

Similar presentations


Presentation on theme: "MechanismScenarioExpiresWinRT API Local Update a tile immediately, while the app is running or from a background task Never TileUpdateManager."— Presentation transcript:

1

2

3

4

5

6

7

8

9

10

11

12

13

14 MechanismScenarioExpiresWinRT API Local Update a tile immediately, while the app is running or from a background task Never TileUpdateManager tileUpdater.Update() Scheduled Update a tile once, at a specific date and time. E.g., tomorrow at 4pm 3 days TileUpdateManager tileUpdater.AddToSchedule() Periodic Update a tile by polling a remote URI on an interval. E.g., every 30 minutes 3 days TileUpdateManager tileUpdater.StartPeriodicUpdate() Push Update a tile immediately, by sending a push notification from your server -or- Send a Raw notification to wake a background task that triggers a tile update 3 daysPushNotificationChannelManager

15 New Message Thomas Fennel Looking forward to your \\build\ talk next week New Message Thomas Fennel Looking forward to your \\build\ talk next week

16

17

18

19

20 Any bitmap generator Cloud XamlRenderingBackgroundTask Windows Phone XAML WriteableBitmap Windows Phone Silverlight

21

22

23

24 ScenarioRecommendation You are creating a new Windows Phone Silverlight 8.1 appWNS / WinRT You are upgrading your Windows Phone Silverlight 8.0 app and want to add notifications for the first time WNS / WinRT You are upgrading your Windows Phone Silverlight 8.0 app and already using MPN notifications WNS / WinRT -or- MPN /.NET

25

26

27

28

29

30

31 /ProjectFolder /images logo.scale-100.png logo.scale-180.png logo.scale-240.png /contrast-black logo.scale-100.png logo.scale-180.png logo.scale-240.png /contrast-white logo.scale-100.png logo.scale-180.png logo.scale-240.png /ja-JP logo.scale-100.png logo.scale-180.png logo.scale-240.png /contrast-black logo.scale-100.png logo.scale-180.png logo.scale-240.png /contrast-white logo.scale-100.png logo.scale-180.png logo.scale-240.png    

32

33

34

35 document.addEventListener('mssitepinned', startPeriodicUpdate, false); function startPeriodicUpdate() { var uri = "notifications/tileContent.xml"; window.external.msEnableTileNotificationQueue(true); window.external.msStartPeriodicTileUpdate(uri); }

36

37

38

39

40

41


Download ppt "MechanismScenarioExpiresWinRT API Local Update a tile immediately, while the app is running or from a background task Never TileUpdateManager."

Similar presentations


Ads by Google