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()
Erases one character from the end of the text.
|
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 final Integer getPosition()
public final Integer getNumberOfCharacters()
getPosition()Copyright © 2014–2018 XMPP.rocks. All rights reserved.