ParsePush PropertiesParse

The ParsePush type exposes the following members.

Properties

  NameDescription
Public propertyAlert
A conveninence method which sets Data to a dictionary with alert as its only field. Equivalent to
Data = new Dictionary<string, object> {{"alert", alert}};
This should not be used in tandem with Data.
Public propertyChannels
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);
This cannot be used in tandem with Query.
Public propertyData
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.
Public propertyExpiration
The time at which this push will expire. This should not be used in tandem with ExpirationInterval.
Public propertyExpirationInterval
The time from initial schedul when this push will expire. This should not be used in tandem with Expiration.
Public propertyQuery
An installation query that specifies which installations shoudl receive this push. This should not be used in tandem with Channels.
Top
See Also

Reference