public static final class RealTimeText.EraseText extends RealTimeText.Action
<e/> element.
4.6.3.2 Element
<e/>- Erase TextSupports the behavior of backspace key presses. Text is removed towards beginning of the message. This element is also used for all delete operations, including the backspace key, the delete key, and text block deletes.
| Constructor and Description |
|---|
EraseText() |
EraseText(Integer n) |
EraseText(Integer n,
Integer p) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getNumberOfCharacters()
Indicates, how many characters are removed before the position.
|
Integer |
getPosition()
Gets the character position.
|
String |
toString() |
public EraseText()
public EraseText(Integer n)
n - The number of characters, which are erased from the end of the message.public Integer getPosition()
public Integer getNumberOfCharacters()
getPosition()Copyright © 2014–2015 XMPP.rocks. All rights reserved.