public class InputEvtIQ
extends org.jivesoftware.smack.packet.IQ
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_ATTR_NAME
The name of the argument that contains the input action value.
|
static java.lang.String |
ELEMENT_NAME
The name of the element that contains the input event data.
|
static java.lang.String |
NAMESPACE
The namespace that input event belongs to.
|
static java.lang.String |
NAMESPACE_CLIENT
The namespace for peer that supports input event as a sharing clent
(sharee):
Sends "notify" action describing mouse or keyboard events to the remote
peer which shares its desktop.
|
static java.lang.String |
NAMESPACE_SERVER
The namespace for peer that supports input event as a sharing server
(sharer):
Sends to remote peer "start" or "stop" action to respectively allows or
disables remote peer to send "notify" action about its mouse or keyboard
events.
|
Constructor and Description |
---|
InputEvtIQ()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addRemoteControl(RemoteControlExtension item)
Add a remote-control extension.
|
InputEvtAction |
getAction()
Returns the value of this element's action attribute.
|
java.lang.String |
getChildElementXML()
Get the XML representation of the IQ.
|
java.util.List<RemoteControlExtension> |
getRemoteControls()
Get the RemoteControlExtension list of this IQ.
|
void |
removeRemoteControl(RemoteControlExtension item)
Remove a remote-control extension.
|
void |
setAction(InputEvtAction action)
Sets the value of this element's action attribute.
|
createErrorResponse, createResultIQ, getType, setType, toXML
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
public static final java.lang.String NAMESPACE
public static final java.lang.String NAMESPACE_SERVER
public static final java.lang.String NAMESPACE_CLIENT
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String ACTION_ATTR_NAME
public java.lang.String getChildElementXML()
getChildElementXML
in class org.jivesoftware.smack.packet.IQ
public void setAction(InputEvtAction action)
action
- the value of the action attribute.public InputEvtAction getAction()
public void addRemoteControl(RemoteControlExtension item)
item
- remote-control extensionpublic void removeRemoteControl(RemoteControlExtension item)
item
- remote-control extensionpublic java.util.List<RemoteControlExtension> getRemoteControls()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.