Sample App Notifications
The Stock Quoter app uses all three types of push notifications, which are described in the following sections.
Tile notifications are sent periodically from the
StockQuoteService and are displayed as shown in Figure 15.7. The tile notification contains a
Text1 data property equal to Stock Quote and a
Text2 data property that is the result of calling the
ToString method of the
StockQuote object, which produces a combination of the stock symbol, the stock’s last price, and its change in price.
Toast notifications are sent periodically from the
StockQuoteService and are displayed as shown in Figure 15.4. The sample uses the title property of the tile notification to display the ...