Methods
(static) send(data, options) → {Parse.Promise}
Sends a push notification.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The data of the push notification. Valid fields
are:
|
options |
Object | An object that has an optional success function, that takes no arguments and will be called on a successful push, and an error function that takes a Parse.Error and will be called if the push failed. |
Returns:
A promise that is fulfilled when the push request
completes.
- Type
- Parse.Promise