Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.chat |
TODO describe me.
|
org.jivesoftware.smack.chat2 |
Smack's new improved API for 1:1 chats.
|
org.jivesoftware.smack.filter |
Allows
StanzaCollector and StanzaListener instances to filter for stanzas with particular attributes. |
org.jivesoftware.smack.packet |
XML stanzas and extension elements that are part of the XMPP protocol.
|
org.jivesoftware.smack.util |
TODO describe me.
|
org.jivesoftware.smackx.address |
Smack's API for XEP-33: Extended Stanza Addressing.
|
org.jivesoftware.smackx.blocking.element |
Blocking command elements.
|
org.jivesoftware.smackx.bob.element |
Bits of Binary elements.
|
org.jivesoftware.smackx.carbons |
Smack's API for XEP-280: Message Carbons.
|
org.jivesoftware.smackx.carbons.packet |
Stanzas and extension elements for XEP-280: Message Carbons.
|
org.jivesoftware.smackx.chat_markers.element |
Chat Markers elements (XEP-0333).
|
org.jivesoftware.smackx.chatstates |
TODO describe me.
|
org.jivesoftware.smackx.eme.element |
XMPP extension elements for XEP-0380: Explicit Message Encryption.
|
org.jivesoftware.smackx.geoloc |
TODO describe me.
|
org.jivesoftware.smackx.geoloc.packet |
TODO describe me.
|
org.jivesoftware.smackx.hints |
Smack's API for XEP-0334: Message Processing Hints.
|
org.jivesoftware.smackx.hints.element |
XMPP extension elements for XEP-0334: Message Processing Hints.
|
org.jivesoftware.smackx.iot.data.element |
Smack's API for XMPP IoT.
|
org.jivesoftware.smackx.iot.data.filter |
Smack's API for XMPP IoT.
|
org.jivesoftware.smackx.iot.provisioning.element |
Smack's API for XMPP IoT.
|
org.jivesoftware.smackx.jiveproperties.packet |
TODO describe me.
|
org.jivesoftware.smackx.mam.element |
Packet classes and interfaces for Message Archive Management (MAM) XEP-0313.
|
org.jivesoftware.smackx.mam.filter |
Filters of Message Archive Management (MAM) XEP-0313.
|
org.jivesoftware.smackx.message_correct.element |
XMPP stream elements for Last Message Correction as defined in XEP-0308.
|
org.jivesoftware.smackx.muc |
Classes and Interfaces that implement Multi-User Chat (MUC) as defined in XEP-45.
|
org.jivesoftware.smackx.muclight |
Classes and Interfaces that implement Multi-User Chat Light (MUC Light).
|
org.jivesoftware.smackx.muclight.element |
Multi-User Chat Light (MUC Light) elements.
|
org.jivesoftware.smackx.offline |
TODO describe me.
|
org.jivesoftware.smackx.omemo |
Classes and interfaces for OMEMO Encryption.
|
org.jivesoftware.smackx.omemo.internal |
Classes that are used internally to arrange objects.
|
org.jivesoftware.smackx.omemo.listener |
Callbacks and listeners.
|
org.jivesoftware.smackx.pep |
TODO describe me.
|
org.jivesoftware.smackx.push_notifications.element |
Push Notifications elements (XEP-0357).
|
org.jivesoftware.smackx.receipts |
TODO describe me.
|
org.jivesoftware.smackx.xevent |
TODO describe me.
|
org.jivesoftware.smackx.xhtmlim |
TODO describe me.
|
org.jivesoftware.smackx.xhtmlim.packet |
TODO describe me.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageListener.processMessage(Message message) |
Modifier and Type | Method and Description |
---|---|
void |
ChatMessageListener.processMessage(Chat chat,
Message message) |
void |
Chat.sendMessage(Message message)
Deprecated.
Sends a message to the other chat participant.
|
Modifier and Type | Method and Description |
---|---|
void |
IncomingChatMessageListener.newIncomingMessage(EntityBareJid from,
Message message,
Chat chat) |
void |
OutgoingChatMessageListener.newOutgoingMessage(EntityBareJid to,
Message message,
Chat chat) |
void |
Chat.send(Message message) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MessageWithThreadFilter.acceptSpecific(Message message) |
protected boolean |
ThreadFilter.acceptSpecific(Message message) |
protected boolean |
MessageWithBodiesFilter.acceptSpecific(Message message) |
protected boolean |
MessageTypeFilter.acceptSpecific(Message message) |
protected boolean |
MessageWithSubjectFilter.acceptSpecific(Message message) |
Modifier and Type | Method and Description |
---|---|
Message |
Message.clone()
Creates and returns a copy of this message stanza.
|
Constructor and Description |
---|
Message(Message other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
static Message |
PacketParserUtils.parseMessage(org.xmlpull.v1.XmlPullParser parser)
Parses a message packet.
|
Modifier and Type | Method and Description |
---|---|
static void |
MultipleRecipientManager.reply(XMPPConnection connection,
Message original,
Message reply)
Sends a reply to a previously received stanza(/packet) that was sent to multiple recipients.
|
Modifier and Type | Method and Description |
---|---|
static BlockedErrorExtension |
BlockedErrorExtension.from(Message message) |
static boolean |
BlockedErrorExtension.isInside(Message message)
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.
|
Modifier and Type | Method and Description |
---|---|
static BoBExtension |
BoBExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
static void |
CarbonManager.disableCarbons(Message msg)
Deprecated.
|
void |
CarbonCopyReceivedListener.onCarbonCopyReceived(CarbonExtension.Direction direction,
Message carbonCopy,
Message wrappingMessage)
Invoked when a new carbon copy was received.
|
Modifier and Type | Method and Description |
---|---|
static void |
CarbonExtension.Private.addTo(Message message)
Marks a message "private", so that it will not be carbon-copied, by adding private packet
extension to the message.
|
static CarbonExtension |
CarbonExtension.from(Message msg)
Obtain a Carbon from a message, if available.
|
static CarbonExtension |
CarbonExtension.getFrom(Message msg)
Deprecated.
use
CarbonExtension.from(Message) instead |
Modifier and Type | Method and Description |
---|---|
static ChatMarkersElements.MarkableExtension |
ChatMarkersElements.MarkableExtension.from(Message message) |
static ChatMarkersElements.ReceivedExtension |
ChatMarkersElements.ReceivedExtension.from(Message message) |
static ChatMarkersElements.DisplayedExtension |
ChatMarkersElements.DisplayedExtension.from(Message message) |
static ChatMarkersElements.AcknowledgedExtension |
ChatMarkersElements.AcknowledgedExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
void |
ChatStateListener.stateChanged(Chat chat,
ChatState state,
Message message)
Fired when the state of a chat with another user changes.
|
Modifier and Type | Method and Description |
---|---|
static ExplicitMessageEncryptionElement |
ExplicitMessageEncryptionElement.from(Message message) |
Modifier and Type | Method and Description |
---|---|
static boolean |
GeoLocationManager.isGeoLocationMessage(Message message)
Returns true if the message contains a GeoLocation extension.
|
Modifier and Type | Method and Description |
---|---|
static GeoLocation |
GeoLocation.from(Message message) |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<MessageProcessingHintType> |
MessageProcessingHintsManager.getHintsFrom(Message message) |
Modifier and Type | Method and Description |
---|---|
static NoStoreHint |
NoStoreHint.from(Message message) |
static NoCopyHint |
NoCopyHint.from(Message message) |
static StoreHint |
StoreHint.from(Message message) |
static NoPermanentStoreHint |
NoPermanentStoreHint.from(Message message) |
static boolean |
NoStoreHint.hasHint(Message message) |
static boolean |
NoCopyHint.hasHint(Message message) |
static boolean |
StoreHint.hasHint(Message message) |
static boolean |
NoPermanentStoreHint.hasHint(Message message) |
static void |
NoStoreHint.set(Message message) |
static void |
NoCopyHint.set(Message message) |
static void |
StoreHint.set(Message message) |
static void |
NoPermanentStoreHint.set(Message message) |
static void |
NoPermanentStoreHint.setExplicitly(Message message) |
Modifier and Type | Method and Description |
---|---|
static IoTFieldsExtension |
IoTFieldsExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
IoTFieldsExtensionFilter.acceptSpecific(Message message) |
Modifier and Type | Method and Description |
---|---|
static Friend |
Friend.from(Message message) |
static Unfriend |
Unfriend.from(Message message) |
Modifier and Type | Method and Description |
---|---|
static JivePropertiesExtension |
JivePropertiesExtension.from(Message message)
Return a Jive properties extensions of the given message.
|
Modifier and Type | Method and Description |
---|---|
static MamElements.MamResultExtension |
MamElements.MamResultExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MamResultFilter.acceptSpecific(Message message) |
Modifier and Type | Method and Description |
---|---|
static MessageCorrectExtension |
MessageCorrectExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
Message |
MultiUserChat.createMessage()
Creates a new Message to send to the chat room.
|
Message |
MultiUserChat.nextMessage()
Returns the next available message in the chat.
|
Message |
MultiUserChat.nextMessage(long timeout)
Returns the next available message in the chat.
|
Message |
MultiUserChat.pollMessage()
Polls for and returns the next message, or null if there isn't
a message immediately available.
|
Modifier and Type | Method and Description |
---|---|
void |
InvitationRejectionListener.invitationDeclined(EntityBareJid invitee,
java.lang.String reason,
Message message,
MUCUser.Decline rejection)
Called when the invitee declines the invitation.
|
void |
InvitationListener.invitationReceived(XMPPConnection conn,
MultiUserChat room,
EntityJid inviter,
java.lang.String reason,
java.lang.String password,
Message message,
MUCUser.Invite invitation)
Called when the an invitation to join a MUC room is received.
|
void |
MultiUserChat.invite(Message message,
EntityBareJid user,
java.lang.String reason)
Invites another user to the room in which one is an occupant using a given Message.
|
void |
MultiUserChat.sendMessage(Message message)
Sends a Message to the chat room.
|
Modifier and Type | Method and Description |
---|---|
Message |
MultiUserChatLight.createMessage()
Creates a new Message to send to the chat room.
|
Message |
MultiUserChatLight.nextMessage()
Returns the next available message in the chat.
|
Message |
MultiUserChatLight.nextMessage(long timeout)
Returns the next available message in the chat.
|
Message |
MultiUserChatLight.pollMessage()
Polls for and returns the next message.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiUserChatLight.sendMessage(Message message)
Sends a Message to the chat room.
|
Modifier and Type | Method and Description |
---|---|
static MUCLightElements.AffiliationsChangeExtension |
MUCLightElements.AffiliationsChangeExtension.from(Message message) |
static MUCLightElements.ConfigurationsChangeExtension |
MUCLightElements.ConfigurationsChangeExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Message> |
OfflineMessageManager.getMessages()
Returns a List of Messages with all the offline Messages of the user.
|
java.util.List<Message> |
OfflineMessageManager.getMessages(java.util.List<java.lang.String> nodes)
Returns a List of the offline Messages whose stamp matches the specified
request.
|
Modifier and Type | Method and Description |
---|---|
Message |
OmemoManager.encrypt(java.util.ArrayList<BareJid> recipients,
java.lang.String message)
OMEMO encrypt a cleartext message for multiple recipients.
|
Message |
OmemoManager.encrypt(BareJid to,
java.lang.String message)
OMEMO encrypt a cleartext message for a single recipient.
|
Message |
OmemoManager.encrypt(MultiUserChat muc,
java.lang.String message)
Encrypt a message for all recipients in the MultiUserChat.
|
Message |
OmemoManager.encryptForExistingSessions(CannotEstablishOmemoSessionException exception,
java.lang.String message)
Encrypt a message for all users we could build a session with successfully in a previous attempt.
|
protected Message |
OmemoService.getOmemoRatchetUpdateMessage(OmemoManager omemoManager,
OmemoDevice recipient,
boolean preKeyMessage)
Return a new RatchetUpdateMessage.
|
Modifier and Type | Method and Description |
---|---|
ClearTextMessage |
OmemoManager.decrypt(BareJid sender,
Message omemoMessage)
Decrypt an OMEMO message.
|
Modifier and Type | Method and Description |
---|---|
static Message |
OmemoSession.decryptMessageElement(OmemoElement element,
CipherAndAuthTag cipherAndAuthTag)
Use the symmetric key in cipherAndAuthTag to decrypt the payload of the omemoMessage.
|
Message |
OmemoSession.decryptMessageElement(OmemoElement element,
int keyId)
Try to decrypt the message.
|
Message |
ClearTextMessage.getOriginalMessage()
Return the original Message object.
|
Constructor and Description |
---|
ClearTextMessage(java.lang.String message,
Message original,
OmemoMessageInformation messageInfo) |
Modifier and Type | Method and Description |
---|---|
void |
OmemoMessageListener.onOmemoKeyTransportReceived(CipherAndAuthTag cipherAndAuthTag,
Message message,
Message wrappingMessage,
OmemoMessageInformation omemoInformation)
Gets called, whenever an OmemoElement without a body (an OmemoKeyTransportElement) is received.
|
void |
OmemoMucMessageListener.onOmemoKeyTransportReceived(MultiUserChat muc,
BareJid from,
CipherAndAuthTag cipherAndAuthTag,
Message message,
Message wrappingMessage,
OmemoMessageInformation omemoInformation)
Gets called, whenever an OmemoElement without a body (an OmemoKeyTransportElement) is received.
|
void |
OmemoMessageListener.onOmemoMessageReceived(java.lang.String decryptedBody,
Message encryptedMessage,
Message wrappingMessage,
OmemoMessageInformation omemoInformation)
Gets called, whenever an OmemoMessage has been received and was successfully decrypted.
|
void |
OmemoMucMessageListener.onOmemoMucMessageReceived(MultiUserChat muc,
BareJid from,
java.lang.String decryptedBody,
Message message,
Message wrappingMessage,
OmemoMessageInformation omemoInformation)
Gets called whenever an OMEMO message has been received in a MultiUserChat and successfully decrypted.
|
Modifier and Type | Method and Description |
---|---|
void |
PEPListener.eventReceived(EntityBareJid from,
EventElement event,
Message message)
Called when PEP events are received as part of a presence subscribe or message filter.
|
Modifier and Type | Method and Description |
---|---|
static PushNotificationsElements.RemoteDisablingExtension |
PushNotificationsElements.RemoteDisablingExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
static Message |
DeliveryReceiptManager.receiptMessageFor(Message messageWithReceiptRequest)
Create and return a new message including a delivery receipt extension for the given message.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
DeliveryReceiptManager.addDeliveryReceiptRequest(Message m)
Deprecated.
|
static java.lang.String |
DeliveryReceiptRequest.addTo(Message message)
Add a delivery receipt request to an outgoing packet.
|
static DeliveryReceipt |
DeliveryReceipt.from(Message message)
Get the
DeliveryReceipt extension of the message, if any. |
static DeliveryReceipt |
DeliveryReceipt.getFrom(Message p)
Deprecated.
use
DeliveryReceipt.from(Message) instead |
static 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.
|
Modifier and Type | Method and Description |
---|---|
static void |
MessageEventManager.addNotificationsRequests(Message message,
boolean offline,
boolean delivered,
boolean displayed,
boolean composing)
Adds event notification requests to a message.
|
Modifier and Type | Method and Description |
---|---|
static void |
XHTMLManager.addBody(Message message,
XHTMLText xhtmlText)
Adds an XHTML body to the message.
|
static java.util.List<java.lang.CharSequence> |
XHTMLManager.getBodies(Message message)
Returns an Iterator for the XHTML bodies in the message.
|
static boolean |
XHTMLManager.isXHTMLMessage(Message message)
Returns true if the message contains an XHTML extension.
|
Modifier and Type | Method and Description |
---|---|
static XHTMLExtension |
XHTMLExtension.from(Message message) |