public static final class AbstractPresence.Status extends Object
<status/> element.
The OPTIONAL
<status/>element contains human-readable XML character data specifying a natural-language description of an entity's availability. It is normally used in conjunction with the show element to provide a detailed description of an availability state (e.g., "In a meeting") when the presence stanza has no 'type' attribute.
| Constructor and Description |
|---|
Status(String text)
Constructs a default status.
|
Status(String text,
String language)
Constructs a status with a language attribute.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLanguage()
Gets the language.
|
String |
getText()
Gets the text.
|
void |
setLanguage(String language)
Deprecated.
Use constructor.
|
void |
setText(String text)
Deprecated.
Use constructor.
|
public Status(String text)
text - The text.public String getLanguage()
@Deprecated public void setLanguage(String language)
language - The language.public String getText()
@Deprecated public void setText(String text)
text - The text.Copyright © 2014–2015 XMPP.rocks. All rights reserved.