All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asteriskjava.manager.event.MeetMeTalkingEvent Maven / Gradle / Ivy

The newest version!
/*
 *  Copyright 2004-2006 Stefan Reuter
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 */
package org.asteriskjava.manager.event;

/**
 * A MeetMeTalkingEvent is triggered when a user starts talking in a meet me
 * conference.

* To enable talker detection you must pass the option 'T' to the MeetMe application.

* It is implemented in apps/app_meetme.c

* Available since Asterisk 1.2 * * @author srt * @version $Id$ * @see org.asteriskjava.manager.event.MeetMeStopTalkingEvent * @since 0.2 */ public class MeetMeTalkingEvent extends AbstractMeetMeEvent { /** * Serializable version identifier. */ private static final long serialVersionUID = -8554403451985143184L; protected Boolean status = Boolean.TRUE; public MeetMeTalkingEvent(Object source) { super(source); } /** * Returns whether the user has started or stopped talking.

* Until Asterisk 1.2 Asterisk used different events to indicate start * and stop: This MeetMeTalkingEvent when the user started talking and the * {@link MeetMeStopTalkingEvent} when he stopped. With Asterisk 1.2 * only this MeetMeTalkingEvent is used with the status property indicating * start and stop. For backwards compatibility this property defaults to * true so when used with version 1.2 of Asterisk you get * true. * * @return true if ther user has started talking, * false if the user has stopped talking. * @since 0.3 */ public Boolean getStatus() { return status; } public void setStatus(Boolean status) { this.status = status; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy