public final class OutboundRealTimeMessage extends Object
| Modifier and Type | Method and Description |
|---|---|
Message |
commit()
Commits the real-time message.
|
String |
getId() |
long |
getRefreshInterval()
Gets the refresh interval, after which a refresh message is sent to ensure real-time text is kept in sync.
|
int |
getSequence()
Gets the sequence number of this real-time message.
|
String |
getText()
Gets the current text.
|
long |
getTransmissionInterval()
Gets the transmission interval of real-time text.
|
boolean |
isActive()
Indicates whether this real-time message is active.
|
boolean |
isComplete()
Indicates whether this real-time message is complete.
|
void |
reset()
Sends a message refresh.
|
void |
reset(String id,
CharSequence text)
Sends a message refresh, if you want to switch the message, which is being edited.
|
String |
toString() |
void |
update(CharSequence text)
Updates the text.
|
public final void update(CharSequence text)
text - The text.public final void reset()
public final void reset(String id, CharSequence text)
id - The message id for the message which is edited.text - The text to reset this message to.public final String getText()
public final Message commit()
public final long getRefreshInterval()
public final long getTransmissionInterval()
public final boolean isComplete()
public final boolean isActive()
public final int getSequence()
public final String getId()
Copyright © 2014–2015 XMPP.rocks. All rights reserved.