Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.roster |
TODO describe me.
|
org.jivesoftware.smackx.bob |
Classes and interfaces of Bits of Binary.
|
org.jivesoftware.smackx.mam |
XEP-0313: Message Archive Management.
|
org.jivesoftware.smackx.omemo |
Classes and interfaces for OMEMO Encryption.
|
Modifier and Type | Method and Description |
---|---|
protected XMPPConnection |
Manager.getAuthenticatedConnectionOrThrow()
Get the XMPPConnection of this Manager if it's authenticated, i.e.
|
Modifier and Type | Method and Description |
---|---|
static void |
RosterUtil.askForSubscriptionIfRequired(Roster roster,
org.jxmpp.jid.BareJid jid) |
void |
Roster.createEntry(org.jxmpp.jid.BareJid user,
String name,
String[] groups)
Creates a new roster entry and presence subscription.
|
static void |
RosterUtil.ensureSubscribed(XMPPConnection connectionOne,
XMPPConnection connectionTwo,
long timeout) |
static void |
RosterUtil.ensureSubscribedTo(XMPPConnection connectionOne,
XMPPConnection connectionTwo,
Date deadline) |
static void |
RosterUtil.ensureSubscribedTo(XMPPConnection connectionOne,
XMPPConnection connectionTwo,
long timeout) |
boolean |
Roster.isSubscriptionPreApprovalSupported()
Check for subscription pre-approval support.
|
void |
Roster.preApprove(org.jxmpp.jid.BareJid user)
Pre-approve user presence subscription.
|
void |
Roster.preApproveAndCreateEntry(org.jxmpp.jid.BareJid user,
String name,
String[] groups)
Creates a new pre-approved roster entry and presence subscription.
|
void |
Roster.reload()
Reloads the entire roster from the server.
|
void |
Roster.reloadAndWait()
Reload the roster and block until it is reloaded.
|
void |
Roster.removeEntry(RosterEntry entry)
Removes a roster entry from the roster.
|
void |
Roster.sendSubscriptionRequest(org.jxmpp.jid.BareJid jid) |
Modifier and Type | Method and Description |
---|---|
BoBData |
BoBManager.requestBoB(org.jxmpp.jid.Jid to,
BoBHash bobHash)
Request BoB data.
|
Modifier and Type | Method and Description |
---|---|
MamManager.MamQueryResult |
MamManager.mostRecentPage(org.jxmpp.jid.Jid chatJid,
int max)
Obtain the most recent page of a chat.
|
MamManager.MamQueryResult |
MamManager.page(DataForm dataForm,
RSMSet rsmSet)
Returns a page of the archive.
|
MamManager.MamQueryResult |
MamManager.page(String node,
DataForm dataForm,
RSMSet rsmSet)
Returns a page of the archive.
|
MamManager.MamQueryResult |
MamManager.pageAfter(org.jxmpp.jid.Jid chatJid,
String messageUid,
int max)
Obtain page after the last message saved (specific chat).
|
MamManager.MamQueryResult |
MamManager.pageBefore(org.jxmpp.jid.Jid chatJid,
String messageUid,
int max)
Obtain page before the first message saved (specific chat).
|
MamManager.MamQueryResult |
MamManager.pageNext(MamManager.MamQueryResult mamQueryResult,
int count)
Returns the next page of the archive.
|
MamManager.MamQueryResult |
MamManager.pagePrevious(MamManager.MamQueryResult mamQueryResult,
int count)
Returns the previous page of the archive.
|
MamManager.MamQueryResult |
MamManager.queryArchive(Date start,
Date end)
Query archive filtering by start and/or end date.
|
MamManager.MamQueryResult |
MamManager.queryArchive(Integer max)
Query archive with a maximum amount of results.
|
MamManager.MamQueryResult |
MamManager.queryArchive(Integer max,
Date start,
Date end,
org.jxmpp.jid.Jid withJid,
List<FormField> additionalFields)
Query archive applying filters: max count, start date, end date, from/to
JID and with additional fields.
|
MamManager.MamQueryResult |
MamManager.queryArchive(org.jxmpp.jid.Jid withJid)
Query archive with a JID (only messages from/to the JID).
|
MamManager.MamQueryResult |
MamManager.queryArchive(List<FormField> additionalFields)
Query Archive adding filters with additional fields.
|
MamManager.MamQueryResult |
MamManager.queryArchive(String node,
Integer max,
Date start,
Date end,
org.jxmpp.jid.Jid withJid,
List<FormField> additionalFields)
Query an message archive like a MUC archive or a pubsub node archive, addressed by an archiveAddress, applying
filters: max count, start date, end date, from/to JID and with additional fields.
|
MamManager.MamQueryResult |
MamManager.queryArchiveWithEndDate(Date end)
Query archive filtering by end date.
|
MamManager.MamQueryResult |
MamManager.queryArchiveWithStartDate(Date start)
Query archive filtering by start date.
|
MamManager.MamPrefsResult |
MamManager.retrieveArchivingPreferences()
Get the preferences stored in the server.
|
List<FormField> |
MamManager.retrieveFormFields()
Get the form fields supported by the server.
|
List<FormField> |
MamManager.retrieveFormFields(String node)
Get the form fields supported by the server.
|
MamManager.MamPrefsResult |
MamManager.updateArchivingPreferences(List<org.jxmpp.jid.Jid> alwaysJids,
List<org.jxmpp.jid.Jid> neverJids,
MamPrefsIQ.DefaultBehavior defaultBehavior)
Update the preferences in the server.
|
Modifier and Type | Method and Description |
---|---|
void |
OmemoManager.initialize()
Initializes the OmemoManager.
|