Skip to content

Commit cf9dcd6

Browse files
authored
Merge pull request asterisk-java#745 from seanbright/meetmejoin-duration
MeetMeJoinEvent.java: Add missing `Duration` field.
2 parents faff446 + 7b2f7e4 commit cf9dcd6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/main/java/org/asteriskjava/manager/event/MeetMeJoinEvent.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,25 @@ public class MeetMeJoinEvent extends AbstractMeetMeEvent {
3333
*/
3434
private static final long serialVersionUID = 0L;
3535

36+
private Integer duration;
37+
3638
/**
3739
* @param source
3840
*/
3941
public MeetMeJoinEvent(Object source) {
4042
super(source);
4143
}
44+
45+
/**
46+
* Returns how long the user has been in the conference.
47+
*
48+
* @return the duration, in seconds, the user has been in the conference
49+
*/
50+
public Integer getDuration() {
51+
return duration;
52+
}
53+
54+
public void setDuration(Integer duration) {
55+
this.duration = duration;
56+
}
4257
}

0 commit comments

Comments
 (0)