mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
update linphone submodule, add new interface for chat.
This commit is contained in:
parent
c35f464e91
commit
3cec3cea4c
1 changed files with 12 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
*/
|
||||
package org.linphone.core;
|
||||
|
||||
import org.linphone.core.LinphoneChatMessage.StateListener;
|
||||
|
||||
class LinphoneChatRoomImpl implements LinphoneChatRoom {
|
||||
protected final long nativePtr;
|
||||
private native long getPeerAddress(long ptr);
|
||||
|
|
@ -34,4 +36,14 @@ class LinphoneChatRoomImpl implements LinphoneChatRoom {
|
|||
public void sendMessage(String message) {
|
||||
sendMessage(nativePtr,message);
|
||||
}
|
||||
@Override
|
||||
public void sendMessage(LinphoneChatMessage msg, StateListener listener) {
|
||||
// TODO To be implemened
|
||||
|
||||
}
|
||||
@Override
|
||||
public void sendMessage(Object opaque, String message) {
|
||||
// ignore, deprecated.
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue