Package | Description |
---|---|
org.jivesoftware.smack.roster |
Modifier and Type | Method and Description |
---|---|
static Roster.SubscriptionMode |
Roster.getDefaultSubscriptionMode()
Returns the default subscription processing mode to use when a new Roster is created.
|
Roster.SubscriptionMode |
Roster.getSubscriptionMode()
Returns the subscription processing mode, which dictates what action
Smack will take when subscription requests from other users are made.
|
static Roster.SubscriptionMode |
Roster.SubscriptionMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Roster.SubscriptionMode[] |
Roster.SubscriptionMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
Roster.setDefaultSubscriptionMode(Roster.SubscriptionMode subscriptionMode)
Sets the default subscription processing mode to use when a new Roster is created.
|
void |
Roster.setSubscriptionMode(Roster.SubscriptionMode subscriptionMode)
Sets the subscription processing mode, which dictates what action
Smack will take when subscription requests from other users are made.
|