Package | Description |
---|---|
org.jivesoftware.smack.packet |
XML stanzas and extension elements that are part of the XMPP protocol.
|
Modifier and Type | Method and Description |
---|---|
static Message.Type |
Message.Type.fromString(String string)
Converts a String into the corresponding types.
|
Message.Type |
Message.getType()
Returns the type of the message.
|
static Message.Type |
Message.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Type[] |
Message.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Message.setType(Message.Type type)
Sets the type of the message.
|
Constructor and Description |
---|
Message(Jid to,
Message.Type type)
Creates a new message of the specified type to a recipient.
|