new Push()
Contains functions to deal with Push in Parse.
Methods
(static) getPushStatus(pushStatusId, options) → {Parse.Object}
Gets push status by Id
Parameters:
Name | Type | Description |
---|---|---|
pushStatusId |
string
|
The Id of Push Status. |
options |
object
|
Valid options are:
|
(static) send(data, options) → {Promise}
Sends a push notification. Available in Cloud Code only.
Parameters:
Name | Type | Description |
---|---|---|
data |
object
|
The data of the push notification. Valid fields are:
|
options |
object
|
Valid options are:
|
Returns:
- Type:
-
Promise
A promise that is fulfilled when the push request completes.