public static final class ContactExchange.Item
extends java.lang.Object
The roster exchange item.
Modifier and Type | Class and Description |
---|---|
static class |
ContactExchange.Item.Action
The action for a roster item exchange.
|
Constructor and Description |
---|
Item(Jid jid,
java.lang.String name,
java.util.Collection<java.lang.String> groups,
ContactExchange.Item.Action action) |
Modifier and Type | Method and Description |
---|---|
ContactExchange.Item.Action |
getAction()
Gets the action indicating adding, deleting or modifying the roster item.
|
java.util.List<java.lang.String> |
getGroups()
Gets the suggested roster groups
|
Jid |
getJid()
Gets the JID.
|
java.lang.String |
getName()
Gets the suggested name.
|
public Item(Jid jid, java.lang.String name, java.util.Collection<java.lang.String> groups, ContactExchange.Item.Action action)
public final Jid getJid()
Gets the JID.
public final ContactExchange.Item.Action getAction()
Gets the action indicating adding, deleting or modifying the roster item.
public final java.lang.String getName()
Gets the suggested name.
public final java.util.List<java.lang.String> getGroups()
Gets the suggested roster groups
Copyright © 2014–2019 XMPP.rocks. All rights reserved.