Uses of Class
org.jivesoftware.smack.packet.MessageBuilder
-
Packages that use MessageBuilder Package Description org.jivesoftware.smack Core classes of the Smack API.org.jivesoftware.smack.chat Smacks legacy API for 1:1 chats.org.jivesoftware.smack.chat2 Smack's new improved API for 1:1 chats.org.jivesoftware.smack.packet XML stanzas and extension elements that are part of the XMPP protocol.org.jivesoftware.smackx.carbons.packet Stanzas and extension elements for XEP-0280: Message Carbons.org.jivesoftware.smackx.eme.element XMPP extension elements for XEP-0380: Explicit Message Encryption.org.jivesoftware.smackx.fallback_indication Smack's API for XEP-0428: Fallback Indication.org.jivesoftware.smackx.hints.element XMPP extension elements for XEP-0334: Message Processing Hints.org.jivesoftware.smackx.message_fastening.element XEP-0422: Message Fastening.org.jivesoftware.smackx.message_retraction XEP-0424: Message Retraction.org.jivesoftware.smackx.muc Smack API for Multi-User Chat (MUC, XEP-0045).org.jivesoftware.smackx.muclight Classes and Interfaces that implement Multi-User Chat Light (MUC Light).org.jivesoftware.smackx.omemo Classes and interfaces for OMEMO Encryption.org.jivesoftware.smackx.ox_im Smack API for XEP-0374: OpenPGP for XMPP: Instant Messaging.org.jivesoftware.smackx.receipts XEP-0184: Message Delivery Receipts.org.jivesoftware.smackx.sid.element Smack's API for XEP-0359: Stable and Unique Stanza IDs.org.jivesoftware.smackx.xhtmlim Smacks implementation of XHTML-IM (XEP-0071), which provides the ability to send and receive formatted messages using XHTML. -
-
Uses of MessageBuilder in org.jivesoftware.smack
Method parameters in org.jivesoftware.smack with type arguments of type MessageBuilder Modifier and Type Method Description voidAbstractXMPPConnection. addMessageInterceptor(Consumer<MessageBuilder> messageInterceptor, Predicate<Message> messageFilter)voidXMPPConnection. addMessageInterceptor(Consumer<MessageBuilder> messageInterceptor, Predicate<Message> messageFilter)Registers a stanza interceptor with this connection.voidAbstractXMPPConnection. removeMessageInterceptor(Consumer<MessageBuilder> messageInterceptor)voidXMPPConnection. removeMessageInterceptor(Consumer<MessageBuilder> messageInterceptor)Removes a message interceptor. -
Uses of MessageBuilder in org.jivesoftware.smack.chat
Methods in org.jivesoftware.smack.chat with parameters of type MessageBuilder Modifier and Type Method Description voidChat. sendMessage(MessageBuilder message)Deprecated.Sends a message to the other chat participant. -
Uses of MessageBuilder in org.jivesoftware.smack.chat2
Methods in org.jivesoftware.smack.chat2 with parameters of type MessageBuilder Modifier and Type Method Description voidOutgoingChatMessageListener. newOutgoingMessage(EntityBareJid to, MessageBuilder messageBuilder, Chat chat) -
Uses of MessageBuilder in org.jivesoftware.smack.packet
Methods in org.jivesoftware.smack.packet that return MessageBuilder Modifier and Type Method Description MessageBuilderMessageBuilder. addBody(String language, String body)Adds a body with a corresponding language.MessageBuilderMessageBuilder. addSubject(String language, String subject)Adds a subject with a corresponding language.MessageBuilderMessage. asBuilder()MessageBuilderMessage. asBuilder(String id)MessageBuilderMessage. asBuilder(XMPPConnection connection)static MessageBuilderStanzaBuilder. buildMessage()static MessageBuilderStanzaBuilder. buildMessage(String stanzaId)static MessageBuilderStanzaBuilder. buildMessageFrom(Message message, String stanzaId)static MessageBuilderStanzaBuilder. buildMessageFrom(Message message, StanzaIdSource stanzaIdSource)MessageBuilderStanzaFactory. buildMessageStanza()MessageBuilderStanzaFactory. buildMessageStanzaFrom(Message message)MessageBuilderMessageBuilder. getThis()MessageBuilderMessageBuilder. ofType(Message.Type type)MessageBuilderMessageBuilder. setBody(CharSequence body)Sets the body of the message.MessageBuilderMessageBuilder. setBody(String body)Sets the body of the message.MessageBuilderMessageBuilder. setSubject(String subject)Sets the subject of the message.MessageBuilderMessageBuilder. setThread(String thread)MessageBuilderMessageBuilder. setThread(String thread, String parent) -
Uses of MessageBuilder in org.jivesoftware.smackx.carbons.packet
Methods in org.jivesoftware.smackx.carbons.packet with parameters of type MessageBuilder Modifier and Type Method Description static voidCarbonExtension.Private. addTo(MessageBuilder messageBuilder)Marks a message "private", so that it will not be carbon-copied, by adding private packet extension to the message. -
Uses of MessageBuilder in org.jivesoftware.smackx.eme.element
Methods in org.jivesoftware.smackx.eme.element with parameters of type MessageBuilder Modifier and Type Method Description static voidExplicitMessageEncryptionElement. set(MessageBuilder message, ExplicitMessageEncryptionElement.ExplicitMessageEncryptionProtocol protocol)Add an EME element containing the specifiedprotocolnamespace to the message. -
Uses of MessageBuilder in org.jivesoftware.smackx.fallback_indication
Methods in org.jivesoftware.smackx.fallback_indication that return MessageBuilder Modifier and Type Method Description static MessageBuilderFallbackIndicationManager. addFallbackIndication(MessageBuilder messageBuilder)Add aFallbackIndicationElementto the provided message builder.static MessageBuilderFallbackIndicationManager. addFallbackIndicationWithBody(MessageBuilder messageBuilder, String fallbackMessageBody)Set the body of the message to the provided fallback message and add aFallbackIndicationElement.Methods in org.jivesoftware.smackx.fallback_indication with parameters of type MessageBuilder Modifier and Type Method Description static MessageBuilderFallbackIndicationManager. addFallbackIndication(MessageBuilder messageBuilder)Add aFallbackIndicationElementto the provided message builder.static MessageBuilderFallbackIndicationManager. addFallbackIndicationWithBody(MessageBuilder messageBuilder, String fallbackMessageBody)Set the body of the message to the provided fallback message and add aFallbackIndicationElement. -
Uses of MessageBuilder in org.jivesoftware.smackx.hints.element
Methods in org.jivesoftware.smackx.hints.element with parameters of type MessageBuilder Modifier and Type Method Description static voidStoreHint. set(MessageBuilder message) -
Uses of MessageBuilder in org.jivesoftware.smackx.message_fastening.element
Methods in org.jivesoftware.smackx.message_fastening.element with parameters of type MessageBuilder Modifier and Type Method Description voidFasteningElement. applyTo(MessageBuilder messageBuilder)Add this element to the provided message builder.static booleanFasteningElement. hasFasteningElement(MessageBuilder builder)Return true if the providedMessageBuildercontains aFasteningElement. -
Uses of MessageBuilder in org.jivesoftware.smackx.message_retraction
Methods in org.jivesoftware.smackx.message_retraction with parameters of type MessageBuilder Modifier and Type Method Description static voidMessageRetractionManager. addRetractionElementToMessage(OriginIdElement retractedMessageId, MessageBuilder carrierMessageBuilder)Append aRetractElementwrapped inside aFasteningElementwhich contains theOrigin-IDof the message that will be retracted to the givenMessageBuilder. -
Uses of MessageBuilder in org.jivesoftware.smackx.muc
Methods in org.jivesoftware.smackx.muc that return MessageBuilder Modifier and Type Method Description MessageBuilderMultiUserChat. buildMessage()Constructs a new message builder for messages send to this MUC room.Methods in org.jivesoftware.smackx.muc with parameters of type MessageBuilder Modifier and Type Method Description voidMucMessageInterceptor. intercept(MessageBuilder messageBuilder, MultiUserChat multiUserChat)voidMultiUserChat. invite(MessageBuilder messageBuilder, EntityBareJid user, String reason)Invites another user to the room in which one is an occupant using a given Message.MessageViewMultiUserChat. sendMessage(MessageBuilder messageBuilder)Sends a Message to the chat room. -
Uses of MessageBuilder in org.jivesoftware.smackx.muclight
Methods in org.jivesoftware.smackx.muclight that return MessageBuilder Modifier and Type Method Description MessageBuilderMultiUserChatLight. buildMessage()Constructs a new message builder for messages send to this MUC room.Methods in org.jivesoftware.smackx.muclight with parameters of type MessageBuilder Modifier and Type Method Description voidMultiUserChatLight. sendMessage(MessageBuilder messageBuilder)Sends a Message to the chat room. -
Uses of MessageBuilder in org.jivesoftware.smackx.omemo
Methods in org.jivesoftware.smackx.omemo with parameters of type MessageBuilder Modifier and Type Method Description MessageOmemoMessage.Sent. buildMessage(MessageBuilder messageBuilder, Jid recipient)Return the OmemoElement wrapped in a Message ready to be sent. -
Uses of MessageBuilder in org.jivesoftware.smackx.ox_im
Methods in org.jivesoftware.smackx.ox_im with parameters of type MessageBuilder Modifier and Type Method Description org.pgpainless.encryption_signing.EncryptionResultOXInstantMessagingManager. addOxMessage(MessageBuilder messageBuilder, Set<OpenPgpContact> recipients, List<ExtensionElement> payload)Add an OX-IM message element to a message.org.pgpainless.encryption_signing.EncryptionResultOXInstantMessagingManager. addOxMessage(MessageBuilder messageBuilder, OpenPgpContact contact, List<ExtensionElement> payload)Add an OX-IM message element to a message. -
Uses of MessageBuilder in org.jivesoftware.smackx.receipts
Methods in org.jivesoftware.smackx.receipts with parameters of type MessageBuilder Modifier and Type Method Description static voidDeliveryReceiptRequest. addTo(MessageBuilder messageBuilder)Add a delivery receipt request to an outgoing packet. -
Uses of MessageBuilder in org.jivesoftware.smackx.sid.element
Methods in org.jivesoftware.smackx.sid.element with parameters of type MessageBuilder Modifier and Type Method Description static OriginIdElementOriginIdElement. addTo(MessageBuilder messageBuilder)Add an origin-id element to a message and set the stanzas id to the same id as in the origin-id element. -
Uses of MessageBuilder in org.jivesoftware.smackx.xhtmlim
Methods in org.jivesoftware.smackx.xhtmlim with parameters of type MessageBuilder Modifier and Type Method Description static voidXHTMLManager. addBody(MessageBuilder messageBuilder, XHTMLText xhtmlText)Adds an XHTML body to the message.
-