- Get link
- X
- Other Apps
The Microsoft Push Notification Service in Windows Phone offers third-party
developers a resilient, dedicated, and persistent channel to send data to a
Windows Phone application from a web service in a power-efficient way.
The following diagram shows how your client application running on the phone can request a push notification URI from the Push client service (1). The Push client service then negotiates with the Microsoft Push Notification Service (MPNS) and returns a notification URI to your client application (2 and 3). Your client application can then send the URI to your cloud service (4). When your web service has information to send to your client application, it uses the URI in sending a push notification to the Microsoft Push Notification Service (5), which in turn routes the push notification to the application running on a Windows Phone device (6).
The following diagram shows how your client application running on the phone can request a push notification URI from the Push client service (1). The Push client service then negotiates with the Microsoft Push Notification Service (MPNS) and returns a notification URI to your client application (2 and 3). Your client application can then send the URI to your cloud service (4). When your web service has information to send to your client application, it uses the URI in sending a push notification to the Microsoft Push Notification Service (5), which in turn routes the push notification to the application running on a Windows Phone device (6).
Depending on the format of the push notification and the payload attached to it, the information is delivered as raw data to the application, the application's Tile is visually updated, or a toast notification is displayed. The Microsoft Push Notification Service sends a response code to your web service after a push notification is sent indicating that the notification has been received and will be delivered to the device at the next possible opportunity. However, the Microsoft Push Notification Service does not provide an end-to-end confirmation that your push notification was delivered from your web service to the device.
Push Notifications Overview for Windows Phone
There are three types of push notifications that a web service can use when sending information to an application: toast, Tile, and raw notifications.
Toast Notifications
A toast notification is displayed at the top of the screen to notify users of an event, such as a news or weather alert. The toast displays for about 10 seconds unless the user dismisses it with a flick to the right. If the user taps the toast, the application that sent the toast notification is launched.
The elements of a toast notification are:
|
- Get link
- X
- Other Apps
Comments