1 /*
2 LinphoneConferenceImpl.java
3 Copyright (C) 2015  Belledonne Communications, Grenoble, France
4 
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18 */
19 
20 package org.linphone.core;
21 
22 import org.linphone.core.LinphoneConference;
23 
24 public class LinphoneConferenceImpl implements LinphoneConference {
25 	private final long nativePtr;
26 
27 
LinphoneConferenceImpl(long nativePtr)28 	private LinphoneConferenceImpl(long nativePtr) {
29 		this.nativePtr = nativePtr;
30 	}
31 
getParticipants(long nativePtr)32 	private native LinphoneAddress[] getParticipants(long nativePtr);
getParticipants()33 	public LinphoneAddress[] getParticipants() {
34 		return getParticipants(nativePtr);
35 	}
36 
removeParticipant(long nativePtr, LinphoneAddress uri)37 	private native int removeParticipant(long nativePtr, LinphoneAddress uri);
removeParticipant(LinphoneAddress uri)38 	public int removeParticipant(LinphoneAddress uri) {
39 		return removeParticipant(nativePtr, uri);
40 	}
41 }
42