Uses of Class
org.jivesoftware.smack.packet.PresenceBuilder
Package
Description
Core classes of the Smack API.
XML stanzas and extension elements that are part of the XMPP protocol.
Smack API for Multi-User Chat (MUC, XEP-0045).
-
Uses of PresenceBuilder in org.jivesoftware.smack
Modifier and TypeMethodDescriptionvoid
AbstractXMPPConnection.addPresenceInterceptor
(Consumer<PresenceBuilder> presenceInterceptor, Predicate<Presence> presenceFilter) void
XMPPConnection.addPresenceInterceptor
(Consumer<PresenceBuilder> presenceInterceptor, Predicate<Presence> presenceFilter) Registers a stanza interceptor with this connection.void
AbstractXMPPConnection.removePresenceInterceptor
(Consumer<PresenceBuilder> presenceInterceptor) void
XMPPConnection.removePresenceInterceptor
(Consumer<PresenceBuilder> presenceInterceptor) Removes a presence interceptor. -
Uses of PresenceBuilder in org.jivesoftware.smack.packet
Modifier and TypeMethodDescriptionPresence.asBuilder()
Presence.asBuilder
(XMPPConnection connection) static PresenceBuilder
StanzaBuilder.buildPresence()
static PresenceBuilder
StanzaBuilder.buildPresence
(String stanzaId) static PresenceBuilder
StanzaBuilder.buildPresenceFrom
(Presence presence, String stanzaId) static PresenceBuilder
StanzaBuilder.buildPresenceFrom
(Presence presence, StanzaIdSource stanzaIdSource) StanzaFactory.buildPresenceStanza()
StanzaFactory.buildPresenceStanzaFrom
(Presence presence) PresenceBuilder.getThis()
PresenceBuilder.ofType
(Presence.Type type) PresenceBuilder.setMode
(Presence.Mode mode) PresenceBuilder.setPriority
(int priority) PresenceBuilder.setPriority
(Byte priority) -
Uses of PresenceBuilder in org.jivesoftware.smackx.muc
Modifier and TypeMethodDescriptionvoid
MultiUserChat.addPresenceInterceptor
(Consumer<PresenceBuilder> presenceInterceptor) Adds a newStanzaListener
that will be invoked every time a new presence is going to be sent by this MultiUserChat to the server.void
MultiUserChat.removePresenceInterceptor
(Consumer<PresenceBuilder> presenceInterceptor) Removes aStanzaListener
that was being invoked every time a new presence was being sent by this MultiUserChat to the server.MucEnterConfiguration.Builder.withPresence
(Consumer<? super PresenceBuilder> presenceBuilderConsumer) Set the presence used to join the MUC room.