devtodev Push API supports two different formats of notification sending to Windows operational systems:
UWP format described in this section can be used only for Windows 10 and Windows Phone 10. It is described by the "uwp" object.
The universal format works on a basis of Legacy tiles and toast schema. It can be used for Windows Phone 8.1, Windows Phone 10, Windows 8.1, Windows 10. It is described by the "windows" object.
Use this object (“uwp”) if your clients are users of OS Windows 10 and Windows Phone 10 only. With the help of this method it is possible to realize more opportunities offered by Windows 10.
User identifiers
In order to find an addressee to whom you need to send a notification, it is possible to specify one or several available identifiers:
Notification settings
Object "uwp" can contain 2 properties:
The property that describes a message can be represented by one of 4 possible objects:
- toast (object) - the result of sending is the delivery of toast-notification
- raw (object) - sends a hidden toast-notification
- tile (object) - changes the tile content of an app
- badge (object) - changes the value of a badge field displayed on a tile
The property that describes additional parameters of a message is represented by the object “options”. Optional.