- add
bool add(DeviceGroup group, string[] registration_ids)
Functions for managing device groups
- create
bool create(DeviceGroup group, string[] registration_ids)
Functions for managing device groups
- gcmessage
GCMessage gcmessage(T data)
GCMessage gcmessage(GCMNotification ntf, T data)
Convenience function for GCMessage. Converts T to JSONValue.
- remove
bool remove(DeviceGroup group, string[] registration_ids)
Functions for managing device groups
- sendDirect
Nullable!MulticastMessageResponse sendDirect(string key, string receiver, GCMessage message)
Wrapper around sendMulticast since GCM's answers inconsistent
for direct messages. Sometimes you get plain text instead of JSON.
- sendGroup
Nullable!DeviceGroupResponse sendGroup(DeviceGroup group, GCMessage message)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendGroup
Nullable!DeviceGroupResponse sendGroup(string key, string to, GCMessage message)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendMulticast
Nullable!MulticastMessageResponse sendMulticast(string key, Range registration_ids, GCMessage message)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendTopic
Nullable!TopicMessageResponse sendTopic(string key, string topic, GCMessage message)
Undocumented in source. Be warned that the author may not have intended to support it.
Google Cloud Messaging (GCM) for D