org.asteriskjava.manager.event.ConfbridgeTalkingEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asterisk-java Show documentation
Show all versions of asterisk-java Show documentation
The free Java library for Asterisk PBX integration.
package org.asteriskjava.manager.event;
/**
* This event is sent when the conference detects that a user has either begin
* or stopped talking.
*
* @since 1.0.0
*/
public class ConfbridgeTalkingEvent extends AbstractConfbridgeEvent
{
/**
* Serializable version identifier
*/
private static final long serialVersionUID = 1L;
private Boolean talkingStatus;
public ConfbridgeTalkingEvent(Object source)
{
super(source);
}
/**
* Sets the talking status on or off.
*
* @param talkingStatus the talking status
*/
public void setTalkingStatus(Boolean talkingStatus)
{
this.talkingStatus = talkingStatus;
}
/**
* Returns the talking status.
*
* @return true
if the participant started talking,
* false
if the participant stopped talking.
*/
public Boolean getTalkingStatus()
{
return talkingStatus;
}
}