Package tigase.xmpp.impl.push
Interface PushNotificationsExtension
- All Superinterfaces:
PushNotificationsAware
- All Known Implementing Classes:
AwayPushNotificationsExtension,EncryptedPushNotificationExtension,GroupchatPushNotificationsExtension,JinglePushNotificationsExtension,PriorityExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidprepareNotificationPayload(Element pushServiceSettings, Packet packet, long msgCount, Element notification) default voidprepareNotificationPayload(Element pushServiceSettings, PushNotificationCause cause, Packet packet, long msgCount, Element notification) default voidsetPushNotifications(PushNotifications pushNotifications) booleanshouldSendNotification(Packet packet, BareJID userJid, XMPPResourceConnection session) Methods inherited from interface tigase.xmpp.impl.push.PushNotificationsAware
getDiscoFeatures, processEnableElement
-
Method Details
-
shouldSendNotification
boolean shouldSendNotification(Packet packet, BareJID userJid, XMPPResourceConnection session) throws XMPPException - Throws:
XMPPException
-
prepareNotificationPayload
default void prepareNotificationPayload(Element pushServiceSettings, PushNotificationCause cause, Packet packet, long msgCount, Element notification) -
prepareNotificationPayload
-
setPushNotifications
-