Uses of Class
org.jivesoftware.smack.packet.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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionvoid
IncomingChatMessageListener.newIncomingMessage
(EntityBareJid from, Message message, Chat chat) void
-
Uses of Message in org.jivesoftware.smack.filter
Modifier 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
Modifier and TypeMethodDescriptionstatic MessageBuilder
StanzaBuilder.buildMessageFrom
(Message message, String stanzaId) static MessageBuilder
StanzaBuilder.buildMessageFrom
(Message message, StanzaIdSource stanzaIdSource) StanzaFactory.buildMessageStanzaFrom
(Message message) -
Uses of Message in org.jivesoftware.smack.util
Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier 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)
insteadModifierConstructorDescriptionCarbonExtension
(CarbonExtension.Direction dir, Forwarded<Message> fwd) Construct a Carbon message extension. -
Uses of Message in org.jivesoftware.smackx.chat_markers
Modifier 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
Modifier and TypeMethodDescription -
Uses of Message in org.jivesoftware.smackx.chatstates
Modifier 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
Modifier and TypeMethodDescription -
Uses of Message in org.jivesoftware.smackx.fallback_indication
Modifier 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
Modifier and TypeMethodDescriptionstatic FallbackIndicationElement
FallbackIndicationElement.fromMessage
(Message message) static boolean
FallbackIndicationElement.hasFallbackIndication
(Message message) -
Uses of Message in org.jivesoftware.smackx.forward.packet
Modifier and TypeMethodDescriptionForwarded.extractMessagesFrom
(Collection<Forwarded<Message>> forwardedCollection) Extract messages in a collection of forwarded elements.Modifier and TypeMethodDescriptionForwarded.extractMessagesFrom
(Collection<Forwarded<Message>> forwardedCollection) Extract messages in a collection of forwarded elements. -
Uses of Message in org.jivesoftware.smackx.forward.provider
Modifier and TypeMethodDescriptionForwardedProvider.parseForwardedMessage
(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) ForwardedProvider.parseForwardedMessage
(XmlPullParser parser, XmlEnvironment xmlEnvironment) -
Uses of Message in org.jivesoftware.smackx.geoloc
Modifier 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
Modifier and TypeMethodDescriptionstatic GeoLocation
Returns the first GeoLocation, ornull
if it doesn't exist inMessage
. -
Uses of Message in org.jivesoftware.smackx.hints
Modifier and TypeMethodDescriptionstatic Set<MessageProcessingHintType>
MessageProcessingHintsManager.getHintsFrom
(Message message) -
Uses of Message in org.jivesoftware.smackx.hints.element
Modifier 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
-
Uses of Message in org.jivesoftware.smackx.iot.data.filter
Modifier and TypeMethodDescriptionprotected boolean
IoTFieldsExtensionFilter.acceptSpecific
(Message message) -
Uses of Message in org.jivesoftware.smackx.iot.provisioning.element
-
Uses of Message in org.jivesoftware.smackx.jiveproperties.packet
Modifier and TypeMethodDescriptionstatic JivePropertiesExtension
Return a Jive properties extensions of the given message. -
Uses of Message in org.jivesoftware.smackx.mam
Modifier 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
Modifier and TypeMethodDescriptionMamElements.MamResultExtension.getForwarded()
Get the forwarded element.Modifier and TypeMethodDescriptionMamElementFactory.newResultExtension
(String queryId, String id, Forwarded<Message> forwarded) Create a MAM result extension class.ModifierConstructorDescriptionMamResultExtension
(MamVersion version, String queryId, String id, Forwarded<Message> forwarded) MAM result extension constructor. -
Uses of Message in org.jivesoftware.smackx.mam.filter
Modifier and TypeMethodDescriptionprotected boolean
MamResultFilter.acceptSpecific
(Message message) -
Uses of Message in org.jivesoftware.smackx.message_correct.element
-
Uses of Message in org.jivesoftware.smackx.message_fastening.element
Modifier and TypeMethodDescriptionstatic boolean
FasteningElement.hasFasteningElement
(Message message) Return true if the providedMessage
contains aFasteningElement
. -
Uses of Message in org.jivesoftware.smackx.mood
Modifier 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
Modifier 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
Modifier 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.Modifier 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
Modifier 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
Modifier and TypeMethodDescription -
Uses of Message in org.jivesoftware.smackx.offline
Modifier 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
Modifier and TypeMethodDescriptionOmemoMessage.Sent.buildMessage
(MessageBuilder messageBuilder, Jid recipient) Return the OmemoElement wrapped in a Message ready to be sent.Modifier and TypeMethodDescriptionvoid
OmemoService.onOmemoCarbonCopyReceived
(CarbonExtension.Direction direction, Message carbonCopy, Message wrappingMessage, OmemoManager.LoggedInOmemoManager managerGuard) -
Uses of Message in org.jivesoftware.smackx.omemo.internal.listener
Modifier and TypeMethodDescriptionvoid
OmemoCarbonCopyStanzaReceivedListener.onOmemoCarbonCopyReceived
(CarbonExtension.Direction direction, Message carbonCopy, Message wrappingMessage, OmemoManager.LoggedInOmemoManager omemoManager) -
Uses of Message in org.jivesoftware.smackx.omemo.listener
Modifier and TypeMethodDescriptionvoid
OmemoMessageListener.onOmemoCarbonCopyReceived
(CarbonExtension.Direction direction, Message carbonCopy, Message wrappingMessage, OmemoMessage.Received decryptedCarbonCopy) -
Uses of Message in org.jivesoftware.smackx.omemo.util
-
Uses of Message in org.jivesoftware.smackx.ox_im
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescription -
Uses of Message in org.jivesoftware.smackx.receipts
Modifier and TypeMethodDescriptionstatic Message
DeliveryReceiptManager.receiptMessageFor
(Message messageWithReceiptRequest) Create and return a new message including a delivery receipt extension for the given message.Modifier 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionstatic UserTuneElement
static boolean
UserTuneElement.hasUserTuneElement
(Message message) -
Uses of Message in org.jivesoftware.smackx.xevent
Modifier 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
Modifier 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)