public class RecordingStatus extends AbstractPacketExtension
JibriIq.Status.UNDEFINED
- recording not available
JibriIq.Status.OFF
- recording stopped(available to start)
JibriIq.Status.PENDING
- starting recording
JibriIq.Status.ON
- recording in progressModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
XML element name of this packet extension.
|
static java.lang.String |
NAMESPACE
The namespace of this packet extension.
|
attributes
Constructor and Description |
---|
RecordingStatus() |
Modifier and Type | Method and Description |
---|---|
org.jivesoftware.smack.packet.XMPPError |
getError()
Returns XMPPError associated with current
RecordingStatus . |
JibriIq.Status |
getStatus()
Returns the value of current recording status stored in it's attribute.
|
void |
setError(org.jivesoftware.smack.packet.XMPPError error)
Sets XMPPError on this RecordingStatus.
|
void |
setStatus(JibriIq.Status status)
Sets new value for the recording status.
|
addChildExtension, addPacket, clone, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getPackets, getText, removeAttribute, setAttribute, setNamespace, setText, toXML
public static final java.lang.String NAMESPACE
public static final java.lang.String ELEMENT_NAME
public JibriIq.Status getStatus()
JibriIq.Status
public void setStatus(JibriIq.Status status)
status
- one of JibriIq.Status
public org.jivesoftware.smack.packet.XMPPError getError()
RecordingStatus
.public void setError(org.jivesoftware.smack.packet.XMPPError error)
error
- XMPPError to add error details to this
RecordingStatus instance or null to have it removed.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.