The ParsePush type exposes the following members.
Properties
Name | Description | |
---|---|---|
Alert |
A conveninence method which sets Data to a dictionary with alert as its only field. Equivalent to
Data = new Dictionary<string, object> {{"alert", alert}}; | |
Channels |
A short-hand to set a query which only discriminates on the channels to which a device is subscribed.
This is shorthand for:
var push = new Push(); push.Query = ParseInstallation.Query.WhereKeyContainedIn("channels", channels); | |
Data |
The contents of this push. Some keys have special meaning. A full list of pre-defined
keys can be found in the Parse Push Guide. The following keys affect WinRT devices.
Keys which do not start with x-winrt- can be prefixed with x-winrt- to specify an
override only sent to winrt devices.
alert: the body of the alert text.
title: The title of the text.
x-winrt-payload: A full XML payload to be sent to WinRT installations instead of
the auto-layout.
This should not be used in tandem with Alert.
| |
Expiration |
The time at which this push will expire. This should not be used in tandem with ExpirationInterval.
| |
ExpirationInterval |
The time from initial schedul when this push will expire. This should not be used in tandem with Expiration.
| |
Query |
An installation query that specifies which installations shoudl receive
this push.
This should not be used in tandem with Channels.
|
See Also