Uses of Class
org.jivesoftware.smack.packet.Message
Packages that use Message
Package
Description
Core classes of the Smack API.
Smacks legacy API for 1:1 chats.
Smack's new improved API for 1:1 chats.
Allows
StanzaCollector
and StanzaListener
instances to filter for stanzas with particular attributes.XML stanzas and extension elements that are part of the XMPP protocol.
Utility classes.
Smack's API for XEP-0033: Extended Stanza Addressing.
Blocking command elements.
Smack's API for XEP-0280: Message Carbons.
Stanzas and extension elements for XEP-0280: Message Carbons.
XEP-0333: Chat Markers.
Chat Markers elements (XEP-0333).
Classes for Chat States (XEP-0085).
XMPP extension elements for XEP-0380: Explicit Message Encryption.
Smack's API for XEP-0428: Fallback Indication.
Smack's API for XEP-0428: Fallback Indication.
Element classes for XEP-0297: Stanza Forwarding.
Provider classes for XEP-0297: Stanza Forwarding.
Smacks implementation of XEP-0080: User Location.
Element classes for XEP-0080: User Location.
Smack's API for XEP-0334: Message Processing Hints.
XMPP extension elements for XEP-0334: Message Processing Hints.
Smack's API for XMPP IoT.
Smack's API for XMPP IoT.
Smack's API for XMPP IoT.
Element classes.
XEP-0313: Message Archive Management.
Packet classes and interfaces for Message Archive Management (MAM) XEP-0313.
Filters of Message Archive Management (MAM) XEP-0313.
XMPP stream elements for Last Message Correction as defined in XEP-0308.
XEP-0422: Message Fastening.
Smack's API for XEP-0107: User Mood.
Smack's API for XEP-0107: User Mood.
Smack API for Multi-User Chat (MUC, XEP-0045).
Classes and Interfaces that implement Multi-User Chat Light (MUC Light).
Multi-User Chat Light (MUC Light) elements.
Smacks implementation of XEP-0013: Flexible Offline Message Retrieval.
Classes and interfaces for OMEMO Encryption.
StanzaListeners used for internal purposes.
Callbacks and listeners.
Helper classes and other stuff.
Smack API for XEP-0374: OpenPGP for XMPP: Instant Messaging.
Internal OpenPgpContentElement listeners for XEP-0373: OpenPGP for XMPP.
Smacks implementation XEP-0163: Personal Eventing Protocol.
Push Notifications elements (XEP-0357).
XEP-0184: Message Delivery Receipts.
Smack's API for XEP-0359: Stable and Unique Stanza IDs.
Smack's API for XEP-0382: Spoiler Messages.
Smack's API for XEP-0118: User Tune.
TODO describe me.
Smacks implementation of XHTML-IM (XEP-0071), which provides the ability to send and receive formatted messages using
XHTML.
-
Uses of Message in org.jivesoftware.smack
Methods in org.jivesoftware.smack with parameters of type MessageMethod parameters in org.jivesoftware.smack with type arguments of type MessageModifier and TypeMethodDescriptionvoid
AbstractXMPPConnection.addMessageInterceptor
(Consumer<MessageBuilder> messageInterceptor, Predicate<Message> messageFilter) void
XMPPConnection.addMessageInterceptor
(Consumer<MessageBuilder> messageInterceptor, Predicate<Message> messageFilter) Registers a stanza interceptor with this connection. -
Uses of Message in org.jivesoftware.smack.chat
Methods in org.jivesoftware.smack.chat with parameters of type MessageModifier and TypeMethodDescriptionvoid
ChatMessageListener.processMessage
(Chat chat, Message message) void
Chat.sendMessage
(Message message) Deprecated.Sends a message to the other chat participant. -
Uses of Message in org.jivesoftware.smack.chat2
Methods in org.jivesoftware.smack.chat2 with parameters of type MessageModifier and TypeMethodDescriptionvoid
IncomingChatMessageListener.newIncomingMessage
(EntityBareJid from, Message message, Chat chat) void
-
Uses of Message in org.jivesoftware.smack.filter
Methods in org.jivesoftware.smack.filter with parameters of type MessageModifier and TypeMethodDescriptionprotected boolean
MessageTypeFilter.acceptSpecific
(Message message) protected boolean
MessageWithBodiesFilter.acceptSpecific
(Message message) protected boolean
MessageWithSubjectFilter.acceptSpecific
(Message message) protected boolean
MessageWithThreadFilter.acceptSpecific
(Message message) protected boolean
ThreadFilter.acceptSpecific
(Message message) -
Uses of Message in org.jivesoftware.smack.packet
Methods in org.jivesoftware.smack.packet that return MessageMethods in org.jivesoftware.smack.packet with parameters of type MessageModifier and TypeMethodDescriptionstatic MessageBuilder
StanzaBuilder.buildMessageFrom
(Message message, String stanzaId) static MessageBuilder
StanzaBuilder.buildMessageFrom
(Message message, StanzaIdSource stanzaIdSource) StanzaFactory.buildMessageStanzaFrom
(Message message) Constructors in org.jivesoftware.smack.packet with parameters of type Message -
Uses of Message in org.jivesoftware.smack.util
Methods in org.jivesoftware.smack.util that return MessageModifier and TypeMethodDescriptionstatic Message
PacketParserUtils.parseMessage
(XmlPullParser parser) static Message
PacketParserUtils.parseMessage
(XmlPullParser parser, XmlEnvironment outerXmlEnvironment) Parses a message packet. -
Uses of Message in org.jivesoftware.smackx.address
Methods in org.jivesoftware.smackx.address with parameters of type MessageModifier and TypeMethodDescriptionstatic void
MultipleRecipientManager.reply
(XMPPConnection connection, Message original, Message reply) Sends a reply to a previously received stanza that was sent to multiple recipients. -
Uses of Message in org.jivesoftware.smackx.blocking.element
Methods in org.jivesoftware.smackx.blocking.element with parameters of type MessageModifier and TypeMethodDescriptionstatic BlockedErrorExtension
static boolean
Check if a message contains a BlockedErrorExtension, which means that a message was blocked because the JID blocked the sender, and that was reflected back as an error message. -
Uses of Message in org.jivesoftware.smackx.carbons
Methods in org.jivesoftware.smackx.carbons with parameters of type MessageModifier and TypeMethodDescriptionstatic void
CarbonManager.disableCarbons
(Message msg) Deprecated.void
CarbonCopyReceivedListener.onCarbonCopyReceived
(CarbonExtension.Direction direction, Message carbonCopy, Message wrappingMessage) Invoked when a new carbon copy was received. -
Uses of Message in org.jivesoftware.smackx.carbons.packet
Methods in org.jivesoftware.smackx.carbons.packet that return types with arguments of type MessageMethods in org.jivesoftware.smackx.carbons.packet with parameters of type MessageModifier and TypeMethodDescriptionstatic void
Deprecated.useCarbonExtension.Private.addTo(MessageBuilder)
instead.static CarbonExtension
Obtain a Carbon from a message, if available.static CarbonExtension
Deprecated.useCarbonExtension.from(Message)
insteadConstructor parameters in org.jivesoftware.smackx.carbons.packet with type arguments of type MessageModifierConstructorDescriptionCarbonExtension
(CarbonExtension.Direction dir, Forwarded<Message> fwd) Construct a Carbon message extension. -
Uses of Message in org.jivesoftware.smackx.chat_markers
Methods in org.jivesoftware.smackx.chat_markers with parameters of type MessageModifier and TypeMethodDescriptionvoid
ChatMarkersListener.newChatMarkerMessage
(ChatMarkersState chatMarkersState, Message message, Chat chat) Called in ChatMarkersManager when a new message with a markable tag arrives. -
Uses of Message in org.jivesoftware.smackx.chat_markers.element
Methods in org.jivesoftware.smackx.chat_markers.element with parameters of type MessageModifier and TypeMethodDescription -
Uses of Message in org.jivesoftware.smackx.chatstates
Methods in org.jivesoftware.smackx.chatstates with parameters of type MessageModifier and TypeMethodDescriptionvoid
ChatStateListener.stateChanged
(Chat chat, ChatState state, Message message) Fired when the state of a chat with another user changes. -
Uses of Message in org.jivesoftware.smackx.eme.element
Methods in org.jivesoftware.smackx.eme.element with parameters of type MessageModifier and TypeMethodDescription -
Uses of Message in org.jivesoftware.smackx.fallback_indication
Methods in org.jivesoftware.smackx.fallback_indication with parameters of type MessageModifier and TypeMethodDescriptionvoid
FallbackIndicationListener.onFallbackIndicationReceived
(Message message, FallbackIndicationElement indicator, String fallbackBody) Listener method that gets called when aMessage
containing aFallbackIndicationElement
is received. -
Uses of Message in org.jivesoftware.smackx.fallback_indication.element
Methods in org.jivesoftware.smackx.fallback_indication.element with parameters of type MessageModifier and TypeMethodDescriptionstatic FallbackIndicationElement
FallbackIndicationElement.fromMessage
(Message message) static boolean
FallbackIndicationElement.hasFallbackIndication
(Message message) -
Uses of Message in org.jivesoftware.smackx.forward.packet
Methods in org.jivesoftware.smackx.forward.packet that return types with arguments of type MessageModifier and TypeMethodDescriptionForwarded.extractMessagesFrom
(Collection<Forwarded<Message>> forwardedCollection) Extract messages in a collection of forwarded elements.Method parameters in org.jivesoftware.smackx.forward.packet with type arguments of type MessageModifier and TypeMethodDescriptionForwarded.extractMessagesFrom
(Collection<Forwarded<Message>> forwardedCollection) Extract messages in a collection of forwarded elements. -
Uses of Message in org.jivesoftware.smackx.forward.provider
Methods in org.jivesoftware.smackx.forward.provider that return types with arguments of type MessageModifier and TypeMethodDescriptionForwardedProvider.parseForwardedMessage
(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) ForwardedProvider.parseForwardedMessage
(XmlPullParser parser, XmlEnvironment xmlEnvironment) -
Uses of Message in org.jivesoftware.smackx.geoloc
Methods in org.jivesoftware.smackx.geoloc with parameters of type MessageModifier and TypeMethodDescriptionstatic boolean
GeoLocationManager.isGeoLocationMessage
(Message message) Returns true if the message contains a GeoLocation extension. -
Uses of Message in org.jivesoftware.smackx.geoloc.packet
Methods in org.jivesoftware.smackx.geoloc.packet with parameters of type MessageModifier and TypeMethodDescriptionstatic GeoLocation
Returns the first GeoLocation, ornull
if it doesn't exist inMessage
. -
Uses of Message in org.jivesoftware.smackx.hints
Methods in org.jivesoftware.smackx.hints with parameters of type MessageModifier and TypeMethodDescriptionstatic Set<MessageProcessingHintType>
MessageProcessingHintsManager.getHintsFrom
(Message message) -
Uses of Message in org.jivesoftware.smackx.hints.element
Methods in org.jivesoftware.smackx.hints.element with parameters of type MessageModifier and TypeMethodDescriptionstatic NoCopyHint
static NoPermanentStoreHint
static NoStoreHint
static boolean
static boolean
static boolean
static void
static void
static void
static void
NoPermanentStoreHint.setExplicitly
(Message message) -
Uses of Message in org.jivesoftware.smackx.iot.data.element
Methods in org.jivesoftware.smackx.iot.data.element with parameters of type Message -
Uses of Message in org.jivesoftware.smackx.iot.data.filter
Methods in org.jivesoftware.smackx.iot.data.filter with parameters of type MessageModifier and TypeMethodDescriptionprotected boolean
IoTFieldsExtensionFilter.acceptSpecific
(Message message) -
Uses of Message in org.jivesoftware.smackx.iot.provisioning.element
Methods in org.jivesoftware.smackx.iot.provisioning.element with parameters of type Message -
Uses of Message in org.jivesoftware.smackx.jiveproperties.packet
Methods in org.jivesoftware.smackx.jiveproperties.packet with parameters of type MessageModifier and TypeMethodDescriptionstatic JivePropertiesExtension
Return a Jive properties extensions of the given message. -
Uses of Message in org.jivesoftware.smackx.mam
Methods in org.jivesoftware.smackx.mam that return types with arguments of type MessageModifier and TypeMethodDescriptionMamManager.MamQueryPage.getForwarded()
MamManager.MamQueryPage.getMamResultCarrierMessages()
MamManager.MamQuery.getMessages()
MamManager.MamQueryPage.getMessages()
MamManager.MamQuery.pageNext
(int count) MamManager.MamQuery.pagePrevious
(int count) -
Uses of Message in org.jivesoftware.smackx.mam.element
Methods in org.jivesoftware.smackx.mam.element that return types with arguments of type MessageModifier and TypeMethodDescriptionMamElements.MamResultExtension.getForwarded()
Get the forwarded element.Method parameters in org.jivesoftware.smackx.mam.element with type arguments of type MessageModifier and TypeMethodDescriptionMamElementFactory.newResultExtension
(String queryId, String id, Forwarded<Message> forwarded) Create a MAM result extension class.Constructor parameters in org.jivesoftware.smackx.mam.element with type arguments of type MessageModifierConstructorDescriptionMamResultExtension
(MamVersion version, String queryId, String id, Forwarded<Message> forwarded) MAM result extension constructor. -
Uses of Message in org.jivesoftware.smackx.mam.filter
Methods in org.jivesoftware.smackx.mam.filter with parameters of type MessageModifier and TypeMethodDescriptionprotected boolean
MamResultFilter.acceptSpecific
(Message message) -
Uses of Message in org.jivesoftware.smackx.message_correct.element
Methods in org.jivesoftware.smackx.message_correct.element with parameters of type Message -
Uses of Message in org.jivesoftware.smackx.message_fastening.element
Methods in org.jivesoftware.smackx.message_fastening.element with parameters of type MessageModifier and TypeMethodDescriptionstatic boolean
FasteningElement.hasFasteningElement
(Message message) Return true if the providedMessage
contains aFasteningElement
. -
Uses of Message in org.jivesoftware.smackx.mood
Methods in org.jivesoftware.smackx.mood with parameters of type MessageModifier and TypeMethodDescriptionstatic void
MoodManager.addMoodToMessage
(Message message, Mood mood) static void
MoodManager.addMoodToMessage
(Message message, Mood mood, MoodConcretisation concretisation) void
MoodListener.onMoodUpdated
(EntityBareJid from, MoodElement moodElement, String id, Message message) -
Uses of Message in org.jivesoftware.smackx.mood.element
Methods in org.jivesoftware.smackx.mood.element with parameters of type MessageModifier and TypeMethodDescriptionstatic MoodElement
MoodElement.fromMessage
(Message message) Extract aMoodElement
from a message.static boolean
MoodElement.hasMoodElement
(Message message) Return true, if themessage
has aMoodElement
, otherwise false. -
Uses of Message in org.jivesoftware.smackx.muc
Methods in org.jivesoftware.smackx.muc that return MessageModifier and TypeMethodDescriptionMultiUserChat.createMessage()
Deprecated.useMultiUserChat.buildMessage()
instead.MultiUserChat.nextMessage()
Returns the next available message in the chat.MultiUserChat.nextMessage
(long timeout) Returns the next available message in the chat.MultiUserChat.pollMessage()
Polls for and returns the next message, ornull
if there isn't a message immediately available.Methods in org.jivesoftware.smackx.muc with parameters of type MessageModifier and TypeMethodDescriptionvoid
InvitationRejectionListener.invitationDeclined
(EntityBareJid invitee, String reason, Message message, MUCUser.Decline rejection) Called when the invitee declines the invitation.void
InvitationListener.invitationReceived
(XMPPConnection conn, MultiUserChat room, EntityJid inviter, String reason, String password, Message message, MUCUser.Invite invitation) Called when the an invitation to join a MUC room is received. -
Uses of Message in org.jivesoftware.smackx.muclight
Methods in org.jivesoftware.smackx.muclight that return MessageModifier and TypeMethodDescriptionMultiUserChatLight.createMessage()
Deprecated.useMultiUserChatLight.buildMessage()
instead.MultiUserChatLight.nextMessage()
Returns the next available message in the chat.MultiUserChatLight.nextMessage
(long timeout) Returns the next available message in the chat.MultiUserChatLight.pollMessage()
Polls for and returns the next message. -
Uses of Message in org.jivesoftware.smackx.muclight.element
Methods in org.jivesoftware.smackx.muclight.element with parameters of type MessageModifier and TypeMethodDescription -
Uses of Message in org.jivesoftware.smackx.offline
Methods in org.jivesoftware.smackx.offline that return types with arguments of type MessageModifier and TypeMethodDescriptionOfflineMessageManager.getMessages()
Returns a List of Messages with all the offlineMessages
of the user.OfflineMessageManager.getMessages
(List<String> nodes) Returns a List of the offlineMessages
whose stamp matches the specified request. -
Uses of Message in org.jivesoftware.smackx.omemo
Methods in org.jivesoftware.smackx.omemo that return MessageModifier and TypeMethodDescriptionOmemoMessage.Sent.buildMessage
(MessageBuilder messageBuilder, Jid recipient) Return the OmemoElement wrapped in a Message ready to be sent.Methods in org.jivesoftware.smackx.omemo with parameters of type MessageModifier and TypeMethodDescriptionvoid
OmemoService.onOmemoCarbonCopyReceived
(CarbonExtension.Direction direction, Message carbonCopy, Message wrappingMessage, OmemoManager.LoggedInOmemoManager managerGuard) -
Uses of Message in org.jivesoftware.smackx.omemo.internal.listener
Methods in org.jivesoftware.smackx.omemo.internal.listener with parameters of type MessageModifier and TypeMethodDescriptionvoid
OmemoCarbonCopyStanzaReceivedListener.onOmemoCarbonCopyReceived
(CarbonExtension.Direction direction, Message carbonCopy, Message wrappingMessage, OmemoManager.LoggedInOmemoManager omemoManager) -
Uses of Message in org.jivesoftware.smackx.omemo.listener
Methods in org.jivesoftware.smackx.omemo.listener with parameters of type MessageModifier and TypeMethodDescriptionvoid
OmemoMessageListener.onOmemoCarbonCopyReceived
(CarbonExtension.Direction direction, Message carbonCopy, Message wrappingMessage, OmemoMessage.Received decryptedCarbonCopy) -
Uses of Message in org.jivesoftware.smackx.omemo.util
Methods in org.jivesoftware.smackx.omemo.util that return MessageConstructors in org.jivesoftware.smackx.omemo.util with parameters of type Message -
Uses of Message in org.jivesoftware.smackx.ox_im
Methods in org.jivesoftware.smackx.ox_im with parameters of type MessageModifier and TypeMethodDescriptionvoid
OxMessageListener.newIncomingOxMessage
(OpenPgpContact contact, Message originalMessage, SigncryptElement decryptedPayload, org.pgpainless.decryption_verification.OpenPgpMetadata metadata) This method gets invoked, whenever an OX-IM encrypted message gets received. -
Uses of Message in org.jivesoftware.smackx.ox.listener
Methods in org.jivesoftware.smackx.ox.listener with parameters of type MessageModifier and TypeMethodDescriptionvoid
CryptElementReceivedListener.cryptElementReceived
(OpenPgpContact contact, Message originalMessage, CryptElement cryptElement, org.pgpainless.decryption_verification.OpenPgpMetadata metadata) ACryptElement
has been received and successfully decrypted.void
SigncryptElementReceivedListener.signcryptElementReceived
(OpenPgpContact contact, Message originalMessage, SigncryptElement signcryptElement, org.pgpainless.decryption_verification.OpenPgpMetadata metadata) ASigncryptElement
has been received and successfully decrypted and verified.void
SignElementReceivedListener.signElementReceived
(OpenPgpContact contact, Message originalMessage, SignElement signElement, org.pgpainless.decryption_verification.OpenPgpMetadata metadata) ASignElement
has been received and successfully been verified. -
Uses of Message in org.jivesoftware.smackx.pep
Methods in org.jivesoftware.smackx.pep with parameters of type MessageModifier and TypeMethodDescriptionvoid
PepListener.eventReceived
(EntityBareJid from, EventElement event, Message message) Called when PEP events are received as part of a presence subscribe or message filter.void
PepEventListener.onPepEvent
(EntityBareJid from, E event, String id, Message carrierMessage) -
Uses of Message in org.jivesoftware.smackx.push_notifications.element
Methods in org.jivesoftware.smackx.push_notifications.element with parameters of type MessageModifier and TypeMethodDescription -
Uses of Message in org.jivesoftware.smackx.receipts
Methods in org.jivesoftware.smackx.receipts that return MessageModifier and TypeMethodDescriptionstatic Message
DeliveryReceiptManager.receiptMessageFor
(Message messageWithReceiptRequest) Create and return a new message including a delivery receipt extension for the given message.Methods in org.jivesoftware.smackx.receipts with parameters of type MessageModifier and TypeMethodDescriptionstatic String
DeliveryReceiptManager.addDeliveryReceiptRequest
(Message m) Deprecated.static String
Add a delivery receipt request to an outgoing packet.static DeliveryReceipt
Get theDeliveryReceipt
extension of the message, if any.static DeliveryReceipt
Deprecated.useDeliveryReceipt.from(Message)
insteadstatic boolean
DeliveryReceiptManager.hasDeliveryReceiptRequest
(Message message) Test if a message requires a delivery receipt.static Message
DeliveryReceiptManager.receiptMessageFor
(Message messageWithReceiptRequest) Create and return a new message including a delivery receipt extension for the given message. -
Uses of Message in org.jivesoftware.smackx.sid.element
Methods in org.jivesoftware.smackx.sid.element with parameters of type MessageModifier and TypeMethodDescriptionstatic OriginIdElement
OriginIdElement.getOriginId
(Message message) Return the origin-id element of a message or null, if absent.static StanzaIdElement
StanzaIdElement.getStanzaId
(Message message) Return the stanza-id element of a message.static boolean
OriginIdElement.hasOriginId
(Message message) Return true, if the message contains a origin-id element.static boolean
StanzaIdElement.hasStanzaId
(Message message) Return true, if a message contains a stanza-id element. -
Uses of Message in org.jivesoftware.smackx.spoiler.element
Methods in org.jivesoftware.smackx.spoiler.element with parameters of type MessageModifier and TypeMethodDescriptionstatic void
SpoilerElement.addSpoiler
(Message message) Add a SpoilerElement to a message.static void
SpoilerElement.addSpoiler
(Message message, String hint) Add a SpoilerElement with a hint to a message.static void
SpoilerElement.addSpoiler
(Message message, String lang, String hint) Add a SpoilerElement with a hint in a certain language to a message.static boolean
SpoilerElement.containsSpoiler
(Message message) Returns true, if the message has at least one spoiler element.SpoilerElement.getSpoilers
(Message message) Return a map of all spoilers contained in a message. -
Uses of Message in org.jivesoftware.smackx.usertune.element
Methods in org.jivesoftware.smackx.usertune.element with parameters of type MessageModifier and TypeMethodDescriptionstatic UserTuneElement
static boolean
UserTuneElement.hasUserTuneElement
(Message message) -
Uses of Message in org.jivesoftware.smackx.xevent
Methods in org.jivesoftware.smackx.xevent with parameters of type MessageModifier and TypeMethodDescriptionstatic void
MessageEventManager.addNotificationsRequests
(Message message, boolean offline, boolean delivered, boolean displayed, boolean composing) Adds event notification requests to a message. -
Uses of Message in org.jivesoftware.smackx.xhtmlim
Methods in org.jivesoftware.smackx.xhtmlim with parameters of type MessageModifier and TypeMethodDescriptionstatic void
Deprecated.useXHTMLManager.addBody(MessageBuilder, XHTMLText)
instead.static boolean
XHTMLManager.isXHTMLMessage
(Message message) Returns true if the message contains an XHTML extension.
CarbonExtension.Private.addTo(Message)