| Package | Description |
|---|---|
| rocks.xmpp.extensions.privacy.model |
Provides XML schema implementations of XEP-0016: Privacy Lists.
|
| rocks.xmpp.im.roster.model |
Provides XML schema implementations of the Roster Namespace.
|
| Modifier and Type | Method and Description |
|---|---|
static PrivacyRule |
PrivacyRule.blockAllCommunicationWithEntitiesWithSubscription(Contact.Subscription subscription,
long order)
Creates a rule, which blocks all communication from and to any entities in the specified roster group.
|
static PrivacyRule |
PrivacyRule.blockIQFromEntitiesWithSubscription(Contact.Subscription subscription,
long order)
Creates a rule, which blocks all inbound IQ stanzas from entities with the given subscription type.
|
static PrivacyRule |
PrivacyRule.blockMessagesFromEntitiesWithSubscription(Contact.Subscription subscription,
long order)
Creates a rule, which blocks all inbound messages from entities with the given subscription type.
|
static PrivacyRule |
PrivacyRule.blockPresenceFromEntitiesWithSubscription(Contact.Subscription subscription,
long order)
Creates a rule, which blocks all inbound presence notifications from entities with the given subscription type.
|
static PrivacyRule |
PrivacyRule.blockPresenceToEntitiesWithSubscription(Contact.Subscription subscription,
long order)
Creates a rule, which blocks all outbound presence notifications to entities with the given subscription type.
|
static PrivacyRule |
PrivacyRule.of(Contact.Subscription subscription,
PrivacyRule.Action action,
long order)
Creates a privacy rule of type 'subscription'.
|
| Modifier and Type | Method and Description |
|---|---|
Contact.Subscription |
Contact.getSubscription()
Gets the subscription attribute.
|
static Contact.Subscription |
Contact.Subscription.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Contact.Subscription[] |
Contact.Subscription.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Contact(Jid jid,
String name,
Boolean isPending,
Boolean approved,
Contact.Subscription subscription,
Collection<String> groups)
Creates a new contact associated with the given JID, name and groups.
|
Copyright © 2014–2018 XMPP.rocks. All rights reserved.