public class MuteSessionInfoPacketExtension extends SessionInfoPacketExtension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME_ATTR_VALUE
The name of the name mute attribute.
|
NAMESPACE
attributes
Constructor and Description |
---|
MuteSessionInfoPacketExtension(boolean mute,
java.lang.String name)
Creates a SessionInfoPacketExtension instance corresponding to
either the
SessionInfoType.mute or SessionInfoType.unmute
types according to the value of the mute parameter. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the session that this extension is pertaining to or
null if it is referring to all active sessions.
|
boolean |
isMute()
Determines if this session info packet represents a mute.
|
getType
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 NAME_ATTR_VALUE
public MuteSessionInfoPacketExtension(boolean mute, java.lang.String name)
SessionInfoType.mute
or SessionInfoType.unmute
types according to the value of the mute parameter.mute
- true if the new instance is to be of the
SessionInfoType.mute
type and false for a SessionInfoType.unmute
name
- the name of the session to be muted or null if the
element pertains to all active sessionspublic boolean isMute()
SessionInfoType.mute
and false otherwise.public java.lang.String getName()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.