@Singleton public class GCMService extends Object
| Constructor and Description |
|---|
GCMService() |
| Modifier and Type | Method and Description |
|---|---|
void |
postConstruct() |
void |
sendNotification(GCMMessage.GCMNotification notification,
Map<String,Object> data,
String gcmApiKey,
String... registrationIds) |
@PostConstruct public void postConstruct()
public void sendNotification(GCMMessage.GCMNotification notification, Map<String,Object> data, String gcmApiKey, String... registrationIds) throws UnknownRegistrationIdException, NotRegisteredException
Copyright © 2015. All Rights Reserved.