Exemple #1
0
 private void InitializeDefaults()
 {
     DisplayName        = "Counter";
     Description        = "Send push notification message of Tile type, with a counter value. Each time a push notification message is sent, the counter value increases by one, unless user is running the application and notifies the server.";
     BackgroundImageUri = TileImages.Length > 1 ? TileImages[1] : TileImages.FirstOrDefault();
     RawMessage         = "Game Update";
     Count = 0;
     Title = "Updates";
 }
Exemple #2
0
 private void InitializeDefaults()
 {
     DisplayName        = "Ask to Pin";
     Description        = "Only users can pin a Windows Phone application to the Start screen, therefore if a given application wants to use the tile functionality and the user didn’t pinned the app’s tile, we want to notify the user she is missing additional functionality. This pattern is implemented in both client and server-side.";
     BackgroundImageUri = TileImages.Length > 2 ? TileImages[2] : TileImages.FirstOrDefault();
     Count      = 1;
     Title      = "Game Update";
     RawMessage = "AskToPin";
 }