Package com.hildeio.services
Class FbNotificationService
java.lang.Object
com.hildeio.services.FbNotificationService
Service zum Versenden von FCM PushNotifications.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsendPushNotification
(String target, String title, String body, String eventId) Hinzufuegen eines MobileDevice-Tokens zu einem FCM Topic.
-
Field Details
-
log4Hilde
Dependency Injection auf Log4Hilde
-
-
Constructor Details
-
FbNotificationService
public FbNotificationService()
-
-
Method Details
-
sendPushNotification
public Log4HildePushNotificationModel sendPushNotification(String target, String title, String body, String eventId) throws IOException Hinzufuegen eines MobileDevice-Tokens zu einem FCM Topic.- Parameters:
target
- Empfaenger kann ein MobileDevice oder ein FCM Topic sein.title
- Betreff der Nachrichtbody
- Text der NachrichteventId
- Aktuelle WorkflowId- Returns:
- log4HildePushNotificationModel
- Throws:
IOException
- Erforderliche Exception.
-