Package | Description |
---|---|
org.jivesoftware.smackx.privacy.packet |
Modifier and Type | Method and Description |
---|---|
PrivacyItem.Type |
PrivacyItem.getType()
Returns the type hold the kind of communication it will allow or block.
|
static PrivacyItem.Type |
PrivacyItem.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrivacyItem.Type[] |
PrivacyItem.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
PrivacyItem(PrivacyItem.Type type,
String value,
boolean allow,
int order)
Creates a new privacy item.
|