Stores the _PushStatus when sending push, set pending, and running states

This commit is contained in:
Florent Vilmart
2016-03-12 14:32:39 -05:00
parent 308fe1498a
commit 4d401d9daa
5 changed files with 104 additions and 28 deletions

View File

@@ -4,13 +4,13 @@
//
// Adapter classes must implement the following functions:
// * getValidPushTypes()
// * send(devices, installations)
// * send(devices, installations, pushStatus)
//
// Default is ParsePushAdapter, which uses GCM for
// android push and APNS for ios push.
export class PushAdapter {
send(devices, installations) { }
send(devices, installations, pushStatus) { }
/**
* Get an array of valid push types.