public final class RealTimeText extends Object
<rtt/> element in the urn:xmpp:rtt:0 namespace.| Modifier and Type | Class and Description |
|---|---|
static class |
RealTimeText.Action
An abstract base class for all three RTT actions.
|
static class |
RealTimeText.EraseText
The implementation of the
<e/> element. |
static class |
RealTimeText.Event
The real-time text event.
|
static class |
RealTimeText.InsertText
The implementation of the
<t/> element. |
static class |
RealTimeText.WaitInterval
The implementation of the
<w/> element. |
| Constructor and Description |
|---|
RealTimeText(RealTimeText.Event event,
Collection<RealTimeText.Action> actions,
int sequence,
String id)
Creates a
<rtt/> element. |
| Modifier and Type | Method and Description |
|---|---|
List<RealTimeText.Action> |
getActions()
Gets the actions.
|
RealTimeText.Event |
getEvent()
Gets the event.
|
String |
getId()
Gets the id.
|
Integer |
getSequence()
Gets the sequence.
|
public static final String NAMESPACE
public RealTimeText(RealTimeText.Event event, Collection<RealTimeText.Action> actions, int sequence, String id)
<rtt/> element.event - The event.actions - The actions.sequence - The sequence number.id - The id (optional).public final RealTimeText.Event getEvent()
This attribute signals events for real-time text. If the 'event' attribute is omitted, event="edit" is assumed as the default.
public final Integer getSequence()
public final List<RealTimeText.Action> getActions()
Copyright © 2014–2017 XMPP.rocks. All rights reserved.