Interface IPushNotificationService

All Known Implementing Classes:
PushNotificationServiceCommunity

public interface IPushNotificationService
  • Field Details

  • Method Details

    • sendNotification

      Result sendNotification(String topic, org.json.simple.JSONObject jsonMessage, String serviceName)
      Send push notifcaiton according to service name
      Parameters:
      topic -
      jsonMessage -
      serviceName - : fcm or apn
      Returns:
    • sendNotification

      Result sendNotification(String topic, org.json.simple.JSONObject jsonMessage)
      Send notification to both services if they are enabled
      Parameters:
      topic -
      jsonMessage -
      Returns:
    • sendNotification

      Result sendNotification(List<String> subscriberIds, org.json.simple.JSONObject jsonMessage)
      Send notification according to the subscriberIds
      Parameters:
      subscriberIds -
      jsonMessage -
      Returns:
    • sendNotification

      Result sendNotification(List<String> subscriberIds, org.json.simple.JSONObject jsonMessage, String serviceName)
      Send notification according to the subscriberIds and service
      Parameters:
      subscriberIds -
      jsonMessage -
      Returns: