Class FCMActivityNotifier
- java.lang.Object
-
- lumis.portal.device.activitystream.FCMActivityNotifier
-
- All Implemented Interfaces:
IActivityUserNotifier
public class FCMActivityNotifier extends Object implements IActivityUserNotifier
Firebase Cloud Messaging notifier.- Since:
- 10.0.0
- Version:
- $Revision: 19766 $ $Date: 2017-01-05 18:35:09 -0200 (Thu, 05 Jan 2017) $
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_FCM_PROJECT_ID
static String
FCM_SENDER_ID_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description FCMActivityNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notify(ActivityDocument activityDocument, Collection<UserConfig> users)
Sends a notification tousers
about the activity that has occurred.
-
-
-
Field Detail
-
FCM_SENDER_ID_PROPERTY_NAME
public static final String FCM_SENDER_ID_PROPERTY_NAME
-
DEFAULT_FCM_PROJECT_ID
public static final String DEFAULT_FCM_PROJECT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
notify
public void notify(ActivityDocument activityDocument, Collection<UserConfig> users) throws PortalException
Description copied from interface:IActivityUserNotifier
Sends a notification tousers
about the activity that has occurred.- Specified by:
notify
in interfaceIActivityUserNotifier
- Parameters:
activityDocument
- the document of the activity that has occurred.users
- the users to receive the notification.- Throws:
PortalException
-
-