Package tigase.xmpp.impl.push

## Interface PushNotificationsExtension

- All Superinterfaces:
    `PushNotificationsAware`
  All Known Implementing Classes:
    `AwayPushNotificationsExtension`, `EncryptedPushNotificationExtension`, `GroupchatPushNotificationsExtension`, `JinglePushNotificationsExtension`, `PriorityExtension`

      public interface PushNotificationsExtension
      extends PushNotificationsAware

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default void` | `prepareNotificationPayload​(Element pushServiceSettings, Packet packet, long msgCount, Element notification)` |
    `default void` | `setPushNotifications​(PushNotifications pushNotifications)` |
    `boolean` | `shouldSendNotification​(Packet packet, BareJID userJid, XMPPResourceConnection session)` |

    - ### Methods inherited from interface tigase.xmpp.impl.push.PushNotificationsAware

      `getDiscoFeatures, processEnableElement`

- - ### Method Detail

    - #### shouldSendNotification

          boolean shouldSendNotification​(Packet packet,
                                         BareJID userJid,
                                         XMPPResourceConnection session)
                                  throws XMPPException

      Throws:
        `XMPPException`

    - #### prepareNotificationPayload

          default void prepareNotificationPayload​(Element pushServiceSettings,
                                                  Packet packet,
                                                  long msgCount,
                                                  Element notification)

    - #### setPushNotifications

          default void setPushNotifications​(PushNotifications pushNotifications)