tigase.xmpp.impl.push

## Interface PushNotificationsExtension

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

      public interface PushNotificationsExtension
      extends PushNotificationsAware

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and 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)

Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.