public class NotificationsManager
extends java.lang.Object
| Constructor and Description |
|---|
NotificationsManager() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends NotificationsHandler> |
handleNotifications(android.content.Context context,
java.lang.String gcmAppId,
java.lang.Class<T> notificationsHandlerClass)
Handles notifications with the provided NotificationsHandler class
|
static void |
stopHandlingNotifications(android.content.Context context)
Stops handlind notifications
|
public static <T extends NotificationsHandler> void handleNotifications(android.content.Context context, java.lang.String gcmAppId, java.lang.Class<T> notificationsHandlerClass)
context - Application ContextgcmAppId - Google Cloud Messaging Application IDnotificationsHandlerClass - NotificationHandler class used for handling notificationspublic static void stopHandlingNotifications(android.content.Context context)
context - Application Context